[Scummvm-cvs-logs] SF.net SVN: scummvm:[39543] scummvm/trunk/engines/sci/sci_memory.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Mar 19 23:06:46 CET 2009


Revision: 39543
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39543&view=rev
Author:   thebluegr
Date:     2009-03-19 22:06:46 +0000 (Thu, 19 Mar 2009)

Log Message:
-----------
Hopefully, this fixes the warnings thrown when attempting to print the "size" variable (which is of type type_t)

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sci_memory.cpp

Modified: scummvm/trunk/engines/sci/sci_memory.cpp
===================================================================
--- scummvm/trunk/engines/sci/sci_memory.cpp	2009-03-19 21:43:27 UTC (rev 39542)
+++ scummvm/trunk/engines/sci/sci_memory.cpp	2009-03-19 22:06:46 UTC (rev 39543)
@@ -52,7 +52,7 @@
 \
 	if (res == NULL) {\
 		/* exit immediately */\
-		error("Memory allocation of %lu bytes failed [%s (%s) : %u]", size, filename, funcname, linenum);\
+		error("Memory allocation of %u bytes failed [%s (%s) : %u]", (uint32)size, filename, funcname, linenum);\
 	}\
 } while (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