From b9262bd70c8bf9aa1660bd93a36f59253179bb7e Mon Sep 17 00:00:00 2001 From: Littleboy Date: Fri, 22 Apr 2011 14:39:16 -0400 Subject: MOHAWK: Silence MSVC warning (bug #3290528) --- engines/mohawk/livingbooks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/mohawk/livingbooks.cpp') 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--; } -- cgit v1.2.3