summaryrefslogtreecommitdiff
path: root/community/heaptrack/c456f6a1575fb2834238a1f693e7c7787d768d42.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-09-07 10:25:44 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-09-07 10:25:44 +0200
commit80653675645ad2f437c230fe7034f9e275ef24e4 (patch)
tree56ae8507a2c861eba1bc08ab058ddc03c4380ecd /community/heaptrack/c456f6a1575fb2834238a1f693e7c7787d768d42.patch
parentfcd3e761035173bf0ed663c179f7e38d636d1c83 (diff)
downloadpackages-80653675645ad2f437c230fe7034f9e275ef24e4.tar.xz
community/heaptrack: backported 32-bit fixes to 1.1.0
Diffstat (limited to 'community/heaptrack/c456f6a1575fb2834238a1f693e7c7787d768d42.patch')
-rw-r--r--community/heaptrack/c456f6a1575fb2834238a1f693e7c7787d768d42.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/heaptrack/c456f6a1575fb2834238a1f693e7c7787d768d42.patch b/community/heaptrack/c456f6a1575fb2834238a1f693e7c7787d768d42.patch
new file mode 100644
index 00000000..e6b8f739
--- /dev/null
+++ b/community/heaptrack/c456f6a1575fb2834238a1f693e7c7787d768d42.patch
@@ -0,0 +1,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);