aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-06-27 17:06:26 +0000
committerTorbjörn Andersson2010-06-27 17:06:26 +0000
commit5997307081db72c002a9a131d0eefc1a190e1ced (patch)
tree3cc9f5ea3f122900e0422e6e81adb12e1145a3cb
parent72f65f8204d599c1a29a63377accd8d538ef1e88 (diff)
downloadscummvm-rg350-5997307081db72c002a9a131d0eefc1a190e1ced.tar.gz
scummvm-rg350-5997307081db72c002a9a131d0eefc1a190e1ced.tar.bz2
scummvm-rg350-5997307081db72c002a9a131d0eefc1a190e1ced.zip
Fixed GCC warnings. (Same warning twice, actually.)
svn-id: r50383
-rw-r--r--engines/tinsel/graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tinsel/graphics.cpp b/engines/tinsel/graphics.cpp
index 3423f1054a..48270d94e3 100644
--- a/engines/tinsel/graphics.cpp
+++ b/engines/tinsel/graphics.cpp
@@ -444,7 +444,7 @@ static void t2WrtNonZero(DRAWOBJECT *pObj, uint8 *srcP, uint8 *destP, bool apply
int clipAmount;
// WORKAROUND: One of the mortician frames has several corrupt bytes in the Russian version
- if ((pObj->hBits == 2517583660) && (_vm->getLanguage() == Common::RU_RUS)) {
+ if ((pObj->hBits == 2517583660UL) && (_vm->getLanguage() == Common::RU_RUS)) {
uint8 correctBytes[5] = {0xA3, 0x00, 0x89, 0xC0, 0xA6};
Common::copy(&correctBytes[0], &correctBytes[5], srcP);
}
@@ -604,7 +604,7 @@ static void PackedWrtNonZero(DRAWOBJECT *pObj, uint8 *srcP, uint8 *destP,
if (_vm->getLanguage() == Common::RU_RUS) {
// WORKAROUND: One of the mortician frames has several corrupt bytes in the Russian version
- if (pObj->hBits == 2517583393) {
+ if (pObj->hBits == 2517583393UL) {
uint8 correctBytes[5] = {0x00, 0x00, 0x17, 0x01, 0x00};
Common::copy(&correctBytes[0], &correctBytes[5], srcP + 267);
}