mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-05 00:36:57 +00:00
Fixed compilation
svn-id: r38364
This commit is contained in:
parent
271758dbb8
commit
4fdd92c610
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user