aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-01-21 17:02:51 -0800
committerRichard Henderson <rth@gcc.gnu.org>2003-01-21 17:02:51 -0800
commit1c99d804eeb06044f5e7b3ff7b840a3570aa59c1 (patch)
tree845b96df5c1eb09fbf1a857272f510da30049ca8 /gcc/dwarf2out.c
parent44897a588a0bfc48d4850f98996fbc85390ccf90 (diff)
downloadgcc-1c99d804eeb06044f5e7b3ff7b840a3570aa59c1.zip
gcc-1c99d804eeb06044f5e7b3ff7b840a3570aa59c1.tar.gz
gcc-1c99d804eeb06044f5e7b3ff7b840a3570aa59c1.tar.bz2
dwarf2out.c (lookup_filename): Fix printf format warning.
* dwarf2out.c (lookup_filename): Fix printf format warning. * system.h (fread_unlocked, fwrite_unlocked): Undef. * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook. (fixincl.o-warn, gnu-regex.o-warn): New. * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused. * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise. * fixinc/fixincl.c (process): Fix printf format warning. From-SVN: r61584
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 4502a29..1cd511d 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -12354,7 +12354,7 @@ lookup_filename (file_name)
if (DWARF2_ASM_LINE_DEBUG_INFO)
{
- fprintf (asm_out_file, "\t.file %u ", i);
+ fprintf (asm_out_file, "\t.file %lu ", (unsigned long) i);
output_quoted_string (asm_out_file, file_name);
fputc ('\n', asm_out_file);
}