[Scummvm-cvs-logs] SF.net SVN: scummvm:[50383] scummvm/trunk/engines/tinsel/graphics.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Sun Jun 27 19:06:26 CEST 2010
Revision: 50383
http://scummvm.svn.sourceforge.net/scummvm/?rev=50383&view=rev
Author: eriktorbjorn
Date: 2010-06-27 17:06:26 +0000 (Sun, 27 Jun 2010)
Log Message:
-----------
Fixed GCC warnings. (Same warning twice, actually.)
Modified Paths:
--------------
scummvm/trunk/engines/tinsel/graphics.cpp
Modified: scummvm/trunk/engines/tinsel/graphics.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/graphics.cpp 2010-06-27 16:58:06 UTC (rev 50382)
+++ scummvm/trunk/engines/tinsel/graphics.cpp 2010-06-27 17:06:26 UTC (rev 50383)
@@ -444,7 +444,7 @@
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 @@
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);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list