]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
dwarf2out.c (output_file_names): Cast size_t to unsigned long for format.
authorAndreas Schwab <schwab@suse.de>
Tue, 18 Mar 2003 12:16:10 +0000 (12:16 +0000)
committerAndreas Schwab <schwab@gcc.gnu.org>
Tue, 18 Mar 2003 12:16:10 +0000 (12:16 +0000)
* dwarf2out.c (output_file_names): Cast size_t to unsigned long
for format.

From-SVN: r64530

gcc/ChangeLog
gcc/dwarf2out.c

index c2a1825ea61139b75fca873fdfef12325a1407a4..ca7cc2ee6270916eb2d09ebdde770617659f52bf 100644 (file)
@@ -1,3 +1,8 @@
+2003-03-18  Andreas Schwab  <schwab@suse.de>
+
+       * dwarf2out.c (output_file_names): Cast size_t to unsigned long
+       for format.
+
 2003-03-17  Jason Merrill  <jason@redhat.com>
 
        PR c++/10091
index fec07a76bd5074be1c991b7fe42c926b751ee99d..f4f339e5ccd952ac7db4752b8de0165e9d5c919b 100644 (file)
@@ -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);