diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2016-12-31 08:12:51 (GMT) |
---|---|---|
committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-09-16 07:54:10 (GMT) |
commit | 5fcdcf95cb62ab3d593c36ef90df27cef63874a1 (patch) | |
tree | 734cfe5426f48e5a0e19d5fa00e7bd2827337ee1 /src/ninja.cc | |
parent | 87111bff382655075f2577c591745a335f0103c7 (diff) | |
download | Ninja-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/ninja.cc')
-rw-r--r-- | src/ninja.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninja.cc b/src/ninja.cc index ed004ac..a9030aa 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -494,7 +494,7 @@ int NinjaMain::ToolDeps(const Options* options, int argc, char** argv) { TimeStamp mtime = disk_interface.Stat((*it)->path(), &err); if (mtime == -1) Error("%s", err.c_str()); // Log and ignore Stat() errors; - printf("%s: #deps %d, deps mtime %d (%s)\n", + printf("%s: #deps %d, deps mtime %" PRId64 " (%s)\n", (*it)->path().c_str(), deps->node_count, deps->mtime, (!mtime || mtime > deps->mtime ? "STALE":"VALID")); for (int i = 0; i < deps->node_count; ++i) |