From 94e001a9a9b38a592b446f6063ffc2da1b9877aa Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 18 Mar 2003 12:16:10 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/dwarf2out.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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); -- 2.47.3