summaryrefslogtreecommitdiffstats
path: root/libs/utils/Debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/utils/Debug.cpp')
-rw-r--r--libs/utils/Debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/utils/Debug.cpp b/libs/utils/Debug.cpp
index f7988ec..e8ac983 100644
--- a/libs/utils/Debug.cpp
+++ b/libs/utils/Debug.cpp
@@ -199,7 +199,7 @@ void printHexData(int32_t indent, const void *buf, size_t length,
if ((int32_t)length < 0) {
if (singleLineBytesCutoff < 0) func(cookie, "\n");
char buf[64];
- sprintf(buf, "(bad length: %d)", length);
+ sprintf(buf, "(bad length: %zu)", length);
func(cookie, buf);
return;
}