From 90495c5b330a7e70601c0806347b9dd6d57c7fde Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 24 May 2019 23:07:25 +0100 Subject: Bogo shim warning build fix --- src/bogo_shim/bogo_shim.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bogo_shim') 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); } } -- cgit v1.2.3