From: Andreas Schwab Date: Tue, 18 Mar 2003 12:16:10 +0000 (+0000) Subject: dwarf2out.c (output_file_names): Cast size_t to unsigned long for format. X-Git-Tag: releases/gcc-3.4.0~7833 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=94e001a9a9b38a592b446f6063ffc2da1b9877aa;p=thirdparty%2Fgcc.git dwarf2out.c (output_file_names): Cast size_t to unsigned long for format. * dwarf2out.c (output_file_names): Cast size_t to unsigned long for format. From-SVN: r64530 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2a1825ea611..ca7cc2ee6270 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-03-18 Andreas Schwab + + * dwarf2out.c (output_file_names): Cast size_t to unsigned long + for format. + 2003-03-17 Jason Merrill PR c++/10091 diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index fec07a76bd50..f4f339e5ccd9 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -7487,7 +7487,7 @@ output_file_names () int dir_idx = dirs[files[file_idx].dir_idx].dir_idx; dw2_asm_output_nstring (files[file_idx].path + dirs[dir_idx].length, -1, - "File Entry: 0x%x", i); + "File Entry: 0x%lx", (unsigned long) i); /* Include directory index. */ dw2_asm_output_data_uleb128 (dirs[dir_idx].used, NULL);