summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-18 12:16:10 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-18 12:16:10 +0000
commit47a9ecd11f8e3bd9aec8318aad1f6cd25bf03e4e (patch)
treea175a7b62cc961eaa2689a04571cdb1ffb4d0936
parentf0894543ddfca313c8bea657c9a289ab056dbae8 (diff)
downloadppe42-gcc-47a9ecd11f8e3bd9aec8318aad1f6cd25bf03e4e.tar.gz
ppe42-gcc-47a9ecd11f8e3bd9aec8318aad1f6cd25bf03e4e.zip
* dwarf2out.c (output_file_names): Cast size_t to unsigned long
for format. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64530 138bc75d-0d04-0410-961f-82ee72b054a4
-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 c2a1825ea61..ca7cc2ee627 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 fec07a76bd5..f4f339e5ccd 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);
OpenPOWER on IntegriCloud