aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authorLittleboy2011-04-22 14:39:16 -0400
committerLittleboy2011-04-22 14:45:14 -0400
commitb9262bd70c8bf9aa1660bd93a36f59253179bb7e (patch)
tree003988d2dcb6f21356968f5e88e04c3fe167acb1 /engines/mohawk
parent1f660237a4c5b4e80af6515848e6cf0bcd7c74bc (diff)
downloadscummvm-rg350-b9262bd70c8bf9aa1660bd93a36f59253179bb7e.tar.gz
scummvm-rg350-b9262bd70c8bf9aa1660bd93a36f59253179bb7e.tar.bz2
scummvm-rg350-b9262bd70c8bf9aa1660bd93a36f59253179bb7e.zip
MOHAWK: Silence MSVC warning (bug #3290528)
Diffstat (limited to 'engines/mohawk')
-rw-r--r--engines/mohawk/livingbooks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index 7f6c3cc43a..22ea8d07a1 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -2004,7 +2004,7 @@ LBScriptEntry *LBItem::parseScriptEntry(uint16 type, uint16 &size, Common::Seeka
size -= target.size() + 1;
}
- if (size % 2 != oldAlign) {
+ if ((uint)(size % 2) != oldAlign) {
stream->skip(1);
size--;
}