64bit patch for fixincl.c
Brad Lucier
lucier@math.purdue.edu
Tue Dec 12 14:51:00 GMT 2000
This change fixes this message on alphaev6-unknown-linux-gnu:
../../../gcc/fixinc/fixincl.c: In function `process':
../../../gcc/fixinc/fixincl.c:1348: warning: int format, different type arg (arg 3)
* fixincl.c (process): Cast size_t argument to long int for printing.
===================================================================
RCS file: RCS/fixincl.c,v
retrieving revision 1.1
diff -p -r1.1 fixincl.c
*** fixincl.c 2000/12/12 22:43:38 1.1
--- fixincl.c 2000/12/12 22:45:06
*************** process ()
*** 1345,1351 ****
process_ct++;
#endif
if (VLEVEL( VERB_PROGRESS ) && have_tty)
! fprintf (stderr, "%6d %-50s \r", data_map_size, pz_curr_file );
# ifndef SEPARATE_FIX_PROC
process_chain_head = NOPROCESS;
--- 1345,1351 ----
process_ct++;
#endif
if (VLEVEL( VERB_PROGRESS ) && have_tty)
! fprintf (stderr, "%6ld %-50s \r", (long int) data_map_size, pz_curr_file );
# ifndef SEPARATE_FIX_PROC
process_chain_head = NOPROCESS;
More information about the Gcc-patches
mailing list