From f80866232e12568008cc87dd1c4e841f636e39d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Fri, 27 Nov 2009 16:15:26 +0000 Subject: [PATCH] 2009-11-27 Rafael Avila de Espindola PR gold/11025 * incremental-dump.cc (main): Use llu to print 64 bit values. --- gold/ChangeLog | 5 +++++ gold/incremental-dump.cc | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gold/ChangeLog b/gold/ChangeLog index 1f76345..52a1230 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2009-11-27 Rafael Avila de Espindola + + PR gold/11025 + * incremental-dump.cc (main): Use llu to print 64 bit values. + 2009-11-26 Per Øyvind Karlsen H.J. Lu diff --git a/gold/incremental-dump.cc b/gold/incremental-dump.cc index a250068..0d29263 100644 --- a/gold/incremental-dump.cc +++ b/gold/incremental-dump.cc @@ -148,7 +148,8 @@ main(int argc, char** argv) return 1; } printf(" %s\n", objname); - printf(" Timestamp sec = %ld\n", input->timestamp_sec); + printf(" Timestamp sec = %llu\n", + static_cast(input->timestamp_sec)); printf(" Timestamp nsec = %d\n", input->timestamp_nsec); printf(" Type = "); // TODO: print the data at input->data_offset once we have it. -- 2.7.4