This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
64bit patch for fixincl.c
- To: gcc-patches at gcc dot gnu dot org
- Subject: 64bit patch for fixincl.c
- From: Brad Lucier <lucier at math dot purdue dot edu>
- Date: Tue, 12 Dec 2000 17:50:56 -0500 (EST)
- Cc: lucier at math dot purdue dot edu
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;