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/boxes.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/boxes.cpp')
-rw-r--r-- | scumm/boxes.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/boxes.cpp b/scumm/boxes.cpp index 5821eb6eee..6098cfce38 100644 --- a/scumm/boxes.cpp +++ b/scumm/boxes.cpp @@ -85,7 +85,7 @@ byte Scumm::getMaskFromBox(int box) return 0; if (_features & GF_AFTER_V8) - return FROM_LE_32(ptr->v8.mask); + return (byte) FROM_LE_32(ptr->v8.mask); else return ptr->old.mask; } @@ -114,7 +114,7 @@ byte Scumm::getBoxFlags(int box) if (!ptr) return 0; if (_features & GF_AFTER_V8) - return FROM_LE_32(ptr->v8.flags); + return (byte) FROM_LE_32(ptr->v8.flags); else return ptr->old.flags; } @@ -147,7 +147,7 @@ byte Scumm::getNumBoxes() if (!ptr) return 0; if (_features & GF_AFTER_V8) - return READ_LE_UINT32(ptr); + return (byte) READ_LE_UINT32(ptr); else return ptr[0]; } |