diff options
Diffstat (limited to 'src/heap-profiler.cc')
-rw-r--r-- | src/heap-profiler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heap-profiler.cc b/src/heap-profiler.cc index 532d0f2..f1f2c21 100644 --- a/src/heap-profiler.cc +++ b/src/heap-profiler.cc @@ -293,7 +293,7 @@ static void MaybeDumpProfileLocked() { } else if (FLAGS_heap_profile_time_interval > 0 && current_time - last_dump_time >= FLAGS_heap_profile_time_interval) { - snprintf(buf, sizeof(buf), "%d sec since the last dump", + snprintf(buf, sizeof(buf), "%" PRId64 " sec since the last dump", current_time - last_dump_time); need_to_dump = true; last_dump_time = current_time; |