Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / tcmalloc / chromium / src / heap-profiler.cc
index dd94e36..d27e0b3 100644 (file)
@@ -359,7 +359,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;