aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-10-17 14:16:23 +0300
committerEugene Sandulenko2013-10-17 14:16:23 +0300
commit2a65976092680957c7ee7b3aa39d84400b445c62 (patch)
tree06a38d93f06d1b02fc54027640894c4bce4db3a7
parent78dc1c70d5246bc54ba88e2804de86c4e875ce85 (diff)
downloadscummvm-rg350-2a65976092680957c7ee7b3aa39d84400b445c62.tar.gz
scummvm-rg350-2a65976092680957c7ee7b3aa39d84400b445c62.tar.bz2
scummvm-rg350-2a65976092680957c7ee7b3aa39d84400b445c62.zip
DRACI: Fix potential sign extention. CID 1003513
-rw-r--r--engines/draci/surface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/surface.cpp b/engines/draci/surface.cpp
index 3676c6edac..4156398070 100644
--- a/engines/draci/surface.cpp
+++ b/engines/draci/surface.cpp
@@ -82,7 +82,7 @@ void Surface::markClean() {
void Surface::fill(uint color) {
byte *ptr = (byte *)getPixels();
- memset(ptr, color, w * h);
+ memset(ptr, color, (uint)(w * h));
}
/**