From 4fdd92c6105b5a1186a654a1b94571e3fcba2cd7 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 16 Feb 2009 10:52:45 +0000 Subject: Fixed compilation svn-id: r38364 --- engines/sci/engine/heap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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; } -- cgit v1.2.3