From e795b5014db0291974003f6032415ddccadd13c6 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sun, 5 Aug 2018 15:56:03 +0500 Subject: [PATCH] resolve string format issue found by coverity --- src/Mayaqua/Tracking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mayaqua/Tracking.c b/src/Mayaqua/Tracking.c index 1a1ccfd1..3dda6c0a 100644 --- a/src/Mayaqua/Tracking.c +++ b/src/Mayaqua/Tracking.c @@ -875,7 +875,7 @@ void GetCallStackStr(char *str, UINT size, CALLSTACK_DATA *s) if (s->name == NULL) { - Format(tmp, sizeof(tmp), "0x%p ---", UINT64_TO_POINTER(s->offset)); + Format(tmp, sizeof(tmp), "0x%02x ---", UINT64_TO_POINTER(s->offset)); } else {