summaryrefslogtreecommitdiffstats
path: root/src/build_log.cc
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2016-12-31 08:12:51 (GMT)
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2017-09-16 07:54:10 (GMT)
commit5fcdcf95cb62ab3d593c36ef90df27cef63874a1 (patch)
tree734cfe5426f48e5a0e19d5fa00e7bd2827337ee1 /src/build_log.cc
parent87111bff382655075f2577c591745a335f0103c7 (diff)
downloadNinja-5fcdcf95cb62ab3d593c36ef90df27cef63874a1.zip
Ninja-5fcdcf95cb62ab3d593c36ef90df27cef63874a1.tar.gz
Ninja-5fcdcf95cb62ab3d593c36ef90df27cef63874a1.tar.bz2
Make TimeStamp 64-bit.
This prepares it for higher-resolution timestamps.
Diffstat (limited to 'src/build_log.cc')
-rw-r--r--src/build_log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_log.cc b/src/build_log.cc
index 333915a..a591050 100644
--- a/src/build_log.cc
+++ b/src/build_log.cc
@@ -353,7 +353,7 @@ BuildLog::LogEntry* BuildLog::LookupByOutput(const string& path) {
}
bool BuildLog::WriteEntry(FILE* f, const LogEntry& entry) {
- return fprintf(f, "%d\t%d\t%d\t%s\t%" PRIx64 "\n",
+ return fprintf(f, "%d\t%d\t%" PRId64 "\t%s\t%" PRIx64 "\n",
entry.start_time, entry.end_time, entry.mtime,
entry.output.c_str(), entry.command_hash) > 0;
}