2009-11-27 Rafael Avila de Espindola <espindola@google.com>
authorRafael Ávila de Espíndola <respindola@mozilla.com>
Fri, 27 Nov 2009 16:15:26 +0000 (16:15 +0000)
committerRafael Ávila de Espíndola <respindola@mozilla.com>
Fri, 27 Nov 2009 16:15:26 +0000 (16:15 +0000)
PR gold/11025
* incremental-dump.cc (main): Use llu to print 64 bit values.

gold/ChangeLog
gold/incremental-dump.cc

index 1f763454d0f1ae155d2d60190b0d176dea965690..52a12303ac5cceab795aa89798a20c1e7d0451b6 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-27  Rafael Avila de Espindola  <espindola@google.com>
+
+       PR gold/11025
+       * incremental-dump.cc (main): Use llu to print 64 bit values.
+
 2009-11-26  Per Øyvind Karlsen <peroyvind@mandriva.org>
            H.J. Lu  <hongjiu.lu@intel.com>
 
index a250068ab1d346043e6b7baca45f0e65bfedf7ea..0d2926388209a71c8ff422b3cea1ac52eeb36803 100644 (file)
@@ -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.