aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/memory.cpp
diff options
context:
space:
mode:
authorMax Horn2009-10-09 21:47:33 +0000
committerMax Horn2009-10-09 21:47:33 +0000
commit2e964baeef9a74d45090583b52419afa3c9c47bf (patch)
tree66106bd63ae8f9d7a1120d57344987856c961b56 /engines/lure/memory.cpp
parent6f1c43a7311d5e942f055087e307d6a537e159c6 (diff)
downloadscummvm-rg350-2e964baeef9a74d45090583b52419afa3c9c47bf.tar.gz
scummvm-rg350-2e964baeef9a74d45090583b52419afa3c9c47bf.tar.bz2
scummvm-rg350-2e964baeef9a74d45090583b52419afa3c9c47bf.zip
Some const correctness changes; cleanup
svn-id: r44850
Diffstat (limited to 'engines/lure/memory.cpp')
-rw-r--r--engines/lure/memory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/memory.cpp b/engines/lure/memory.cpp
index 814251e425..f96b5015bc 100644
--- a/engines/lure/memory.cpp
+++ b/engines/lure/memory.cpp
@@ -38,8 +38,8 @@ MemoryBlock *Memory::duplicate(MemoryBlock *src) {
return block;
}
-uint8 *Memory::alloc(uint32 size) {
- return (uint8 *) malloc(size);
+void *Memory::alloc(uint32 size) {
+ return malloc(size);
}
void Memory::dealloc(void *block) {