diff options
author | Jamieson Christian | 2002-12-30 14:22:23 +0000 |
---|---|---|
committer | Jamieson Christian | 2002-12-30 14:22:23 +0000 |
commit | 7db414b203bba1b6d9ed9564022b71a12b105957 (patch) | |
tree | 9efc6a13850c94adcf6655e2dcfefe20789449c4 /scumm/gfx.cpp | |
parent | 1fad3ca0b92640ab08252b3d5dce7e9cfcadb533 (diff) | |
download | scummvm-rg350-7db414b203bba1b6d9ed9564022b71a12b105957.tar.gz scummvm-rg350-7db414b203bba1b6d9ed9564022b71a12b105957.tar.bz2 scummvm-rg350-7db414b203bba1b6d9ed9564022b71a12b105957.zip |
Fixed VC++ warnings.
svn-id: r6279
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r-- | scumm/gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 6d1e1e5fc1..018e3ff725 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -945,7 +945,7 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, const int h, else if (_vm->_features & GF_SMALL_HEADER) offs = READ_LE_UINT16(zplane_list[i] + stripnr * 2 + 2); else if (_vm->_features & GF_AFTER_V8) - offs = READ_LE_UINT32(zplane_list[i] + stripnr * 4 + 8); + offs = (uint16) READ_LE_UINT32(zplane_list[i] + stripnr * 4 + 8); else offs = READ_LE_UINT16(zplane_list[i] + stripnr * 2 + 8); |