aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lure/memory.cpp2
-rw-r--r--engines/lure/memory.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/memory.cpp b/engines/lure/memory.cpp
index ab540f7bad..8580aaed9e 100644
--- a/engines/lure/memory.cpp
+++ b/engines/lure/memory.cpp
@@ -39,7 +39,7 @@ uint8 *Memory::alloc(uint32 size) {
return (uint8 *) malloc(size);
}
-void Memory::dealloc(uint8 *block) {
+void Memory::dealloc(void *block) {
free(block);
}
diff --git a/engines/lure/memory.h b/engines/lure/memory.h
index d7b56b2e79..7a7bb5e120 100644
--- a/engines/lure/memory.h
+++ b/engines/lure/memory.h
@@ -55,7 +55,7 @@ public:
static MemoryBlock *allocate(uint32 size);
static MemoryBlock *duplicate(MemoryBlock *src);
static uint8 *alloc(uint32 size);
- static void dealloc(uint8 *block);
+ static void dealloc(void *block);
};
} // end of namspace Lure