diff options
author | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2009-11-27 16:15:26 +0000 |
---|---|---|
committer | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2009-11-27 16:15:26 +0000 |
commit | f80866232e12568008cc87dd1c4e841f636e39d1 (patch) | |
tree | 2220e131db3dc26df9b7d9138ec26cdb24937757 /gold/incremental-dump.cc | |
parent | b179846202c8d5ce5742fea55f8d1f181463740e (diff) | |
download | gdb-f80866232e12568008cc87dd1c4e841f636e39d1.zip gdb-f80866232e12568008cc87dd1c4e841f636e39d1.tar.gz gdb-f80866232e12568008cc87dd1c4e841f636e39d1.tar.bz2 |
2009-11-27 Rafael Avila de Espindola <espindola@google.com>
PR gold/11025
* incremental-dump.cc (main): Use llu to print 64 bit values.
Diffstat (limited to 'gold/incremental-dump.cc')
-rw-r--r-- | gold/incremental-dump.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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<unsigned long long>(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. |