[Scummvm-cvs-logs] SF.net SVN: scummvm:[38364] scummvm/trunk/engines/sci/engine/heap.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Feb 16 11:52:45 CET 2009


Revision: 38364
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38364&view=rev
Author:   thebluegr
Date:     2009-02-16 10:52:45 +0000 (Mon, 16 Feb 2009)

Log Message:
-----------
Fixed compilation

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/heap.cpp

Modified: scummvm/trunk/engines/sci/engine/heap.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/heap.cpp	2009-02-16 10:14:58 UTC (rev 38363)
+++ scummvm/trunk/engines/sci/engine/heap.cpp	2009-02-16 10:52:45 UTC (rev 38364)
@@ -32,7 +32,7 @@
 	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;
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list