diff options
-rw-r--r-- | engines/sci/engine/heap.cpp | 2 |
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; } |