diff --git a/src/utils/utils.cpp b/src/utils/utils.cpp index 9ebb415..29998db 100644 --- a/src/utils/utils.cpp +++ b/src/utils/utils.cpp @@ -22,7 +22,7 @@ void dumpHex(const void *data, size_t size) { if ((i + 1) % 16 == 0) { WHBLogPrintf("| %s ", ascii); if (i + 1 < size) { - DEBUG_FUNCTION_LINE("0x%08X (0x%04X); ", data + i + 1, i + 1); + DEBUG_FUNCTION_LINE("0x%08X (0x%04X); ", ((uint32_t) data) + i + 1, i + 1); } } else if (i + 1 == size) { ascii[(i + 1) % 16] = '\0';