aboutsummaryrefslogtreecommitdiff
path: root/graphics/wincursor.cpp
diff options
context:
space:
mode:
authormd52011-03-19 02:30:03 +0200
committermd52011-03-19 02:30:03 +0200
commit334e1cd675d01a92046bb7296c97394d4daabe99 (patch)
treef63619691bade2767d144a850d55884ec70cc57b /graphics/wincursor.cpp
parent19d3972f1673c5cb5fe6bd0521044b3d95f4bff6 (diff)
downloadscummvm-rg350-334e1cd675d01a92046bb7296c97394d4daabe99.tar.gz
scummvm-rg350-334e1cd675d01a92046bb7296c97394d4daabe99.tar.bz2
scummvm-rg350-334e1cd675d01a92046bb7296c97394d4daabe99.zip
GRAPHICS: Silenced a warning
Diffstat (limited to 'graphics/wincursor.cpp')
-rw-r--r--graphics/wincursor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/wincursor.cpp b/graphics/wincursor.cpp
index d3c9414e03..10939a677a 100644
--- a/graphics/wincursor.cpp
+++ b/graphics/wincursor.cpp
@@ -138,7 +138,7 @@ bool WinCursor::readFromStream(Common::SeekableReadStream &stream) {
if (bitsPerPixel == 1) {
// 1bpp
- for (uint32 j = 0; j < (_width / 8); j++) {
+ for (uint16 j = 0; j < (_width / 8); j++) {
byte p = src[j];
for (int k = 0; k < 8; k++, rowDest++, p <<= 1) {