diff options
author | David Carlier <[email protected]> | 2019-05-24 23:07:25 +0100 |
---|---|---|
committer | David Carlier <[email protected]> | 2019-05-24 23:07:25 +0100 |
commit | 90495c5b330a7e70601c0806347b9dd6d57c7fde (patch) | |
tree | a39d9779161328c2226f04a1719ca4ab05807b59 /src/bogo_shim | |
parent | c8abe5a4a679a79c4bfd69a9266528b25205a297 (diff) |
Bogo shim warning build fix
Diffstat (limited to 'src/bogo_shim')
-rw-r--r-- | src/bogo_shim/bogo_shim.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bogo_shim/bogo_shim.cpp b/src/bogo_shim/bogo_shim.cpp index 3248ce57f..ded7d3654 100644 --- a/src/bogo_shim/bogo_shim.cpp +++ b/src/bogo_shim/bogo_shim.cpp @@ -57,7 +57,7 @@ void shim_log(const std::string& s) static FILE* log = std::fopen("/tmp/bogo_shim.log", "w"); struct timeval tv; ::gettimeofday(&tv, nullptr); - std::fprintf(log, "%zu.%lu: %s\n", tv.tv_sec, tv.tv_usec, s.c_str()); + std::fprintf(log, "%lld.%lu: %s\n", tv.tv_sec, tv.tv_usec, s.c_str()); std::fflush(log); } } |