diff options
author | Eugene Sandulenko | 2013-10-17 14:16:23 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-10-17 14:16:23 +0300 |
commit | 2a65976092680957c7ee7b3aa39d84400b445c62 (patch) | |
tree | 06a38d93f06d1b02fc54027640894c4bce4db3a7 | |
parent | 78dc1c70d5246bc54ba88e2804de86c4e875ce85 (diff) | |
download | scummvm-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.cpp | 2 |
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)); } /** |