2009-11-27 Rafael Avila de Espindola <espindola@google.com>

PR gold/11025
	* incremental-dump.cc (main): Use llu to print 64 bit values.
This commit is contained in:
Rafael Ávila de Espíndola 2009-11-27 16:15:26 +00:00
parent b179846202
commit f80866232e
2 changed files with 7 additions and 1 deletions

View 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>

View 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.