aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2009-02-16 10:52:45 +0000
committerFilippos Karapetis2009-02-16 10:52:45 +0000
commit4fdd92c6105b5a1186a654a1b94571e3fcba2cd7 (patch)
tree2d9ad10940581aa9a7a3045f931538a05dec34f8
parent271758dbb8c3f70bb875d4629c36902e20965b10 (diff)
downloadscummvm-rg350-4fdd92c6105b5a1186a654a1b94571e3fcba2cd7.tar.gz
scummvm-rg350-4fdd92c6105b5a1186a654a1b94571e3fcba2cd7.tar.bz2
scummvm-rg350-4fdd92c6105b5a1186a654a1b94571e3fcba2cd7.zip
Fixed compilation
svn-id: r38364
-rw-r--r--engines/sci/engine/heap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/heap.cpp b/engines/sci/engine/heap.cpp
index f4c0f54f90..4789a26498 100644
--- a/engines/sci/engine/heap.cpp
+++ b/engines/sci/engine/heap.cpp
@@ -32,7 +32,7 @@ heap_t* heap_new() {
heap_t* h;
if ((h = (heap_t*)sci_malloc(sizeof(heap_t))) == 0) return 0;
- if ((h->start = sci_calloc(SCI_HEAP_SIZE, 1)) == 0) {
+ if ((h->start = (byte *)sci_calloc(SCI_HEAP_SIZE, 1)) == 0) {
free(h);
return 0;
}