aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2009-03-19 22:06:46 +0000
committerFilippos Karapetis2009-03-19 22:06:46 +0000
commit348d48abe50103e3d438c5ca8195fdee700c0af0 (patch)
tree615436ea18f2930548d28a6291049c1f53d3a8c5
parente59b4587b706bb91b7875b4675cfdcdf68ae493c (diff)
downloadscummvm-rg350-348d48abe50103e3d438c5ca8195fdee700c0af0.tar.gz
scummvm-rg350-348d48abe50103e3d438c5ca8195fdee700c0af0.tar.bz2
scummvm-rg350-348d48abe50103e3d438c5ca8195fdee700c0af0.zip
Hopefully, this fixes the warnings thrown when attempting to print the "size" variable (which is of type type_t)
svn-id: r39543
-rw-r--r--engines/sci/sci_memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sci_memory.cpp b/engines/sci/sci_memory.cpp
index d8e49a5fe9..203716edcf 100644
--- a/engines/sci/sci_memory.cpp
+++ b/engines/sci/sci_memory.cpp
@@ -52,7 +52,7 @@ do {\
\
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);