Fixed compilation

svn-id: r38364
This commit is contained in:
Filippos Karapetis 2009-02-16 10:52:45 +00:00
parent 271758dbb8
commit 4fdd92c610

View File

@ -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;
}