aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-03-01 07:45:36 +0000
committerTorbjörn Andersson2005-03-01 07:45:36 +0000
commit91c1c67fc5dbedd0b94175f2d8a657abbf76024b (patch)
tree6d7da991ebc04103f982c134b764b2a9fb8c4cee /scumm
parentf94b10db495f026055ccfee67db10096bb1912cb (diff)
downloadscummvm-rg350-91c1c67fc5dbedd0b94175f2d8a657abbf76024b.tar.gz
scummvm-rg350-91c1c67fc5dbedd0b94175f2d8a657abbf76024b.tar.bz2
scummvm-rg350-91c1c67fc5dbedd0b94175f2d8a657abbf76024b.zip
Fixed warning.
svn-id: r16966
Diffstat (limited to 'scumm')
-rw-r--r--scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index ea580ece5b..f02372b1ff 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -1371,7 +1371,7 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int wi
} else if (_vm->_version == 2) {
// Do nothing here for V2 games - drawing was already handled.
} else {
- int offset;
+ uint32 offset;
if (_vm->_features & GF_16COLOR) {
offset = READ_LE_UINT16(smap_ptr + stripnr * 2 + 2);
assert(offset < READ_LE_UINT16(smap_ptr));