1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/src/track/libheaptrack.cpp b/src/track/libheaptrack.cpp
index 8646893..af1ba5e 100644
--- a/src/track/libheaptrack.cpp
+++ b/src/track/libheaptrack.cpp
@@ -121,7 +121,7 @@ inline void debugLog(const char fmt[], Args... args)
if (debugLevel <= s_debugVerbosity) {
RecursionGuard guard;
flockfile(stderr);
- fprintf(stderr, "heaptrack debug(%d) [%d:%d]@%lu ", static_cast<int>(debugLevel), getpid(), gettid(),
+ fprintf(stderr, "heaptrack debug(%d) [%d:%d]@%" PRIu64 " ", static_cast<int>(debugLevel), getpid(), gettid(),
elapsedTime().count());
fprintf(stderr, fmt, args...);
fputc('\n', stderr);
|