aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/memory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword2/memory.cpp')
-rw-r--r--engines/sword2/memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword2/memory.cpp b/engines/sword2/memory.cpp
index 391983930d..593bb672b6 100644
--- a/engines/sword2/memory.cpp
+++ b/engines/sword2/memory.cpp
@@ -225,7 +225,7 @@ void MemoryManager::memFree(byte *ptr) {
int16 idx = findExactPointerInIndex(ptr);
if (idx == -1) {
- warning("Freeing non-allocated pointer %p", ptr);
+ warning("Freeing non-allocated pointer %p", (void *)ptr);
return;
}