aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dwarf2out.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c2a1825..ca7cc2e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index fec07a7..f4f339e 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);