diff options
-rw-r--r-- | src/common/perf_timer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/perf_timer.h b/src/common/perf_timer.h index 3d732012d..5eb5aaaec 100644 --- a/src/common/perf_timer.h +++ b/src/common/perf_timer.h @@ -68,7 +68,7 @@ public: performance_timers->pop_back(); ticks = epee::misc_utils::get_tick_count() - ticks; char s[12]; - snprintf(s, sizeof(s), "%8lu ", ticks); + snprintf(s, sizeof(s), "%8llu ", (unsigned long long)ticks); LOG_PRINT("PERF " << s << std::string(performance_timers->size() * 2, ' ') << " " << name, level); if (performance_timers->empty()) { |