aboutsummaryrefslogtreecommitdiff
path: root/gold/incremental-dump.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/incremental-dump.cc')
-rw-r--r--gold/incremental-dump.cc3
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.