aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorArnaud Boutonné2011-01-23 00:29:08 +0000
committerArnaud Boutonné2011-01-23 00:29:08 +0000
commitcaab21426026ab70799d39607b23bad382332620 (patch)
treef17833c29aa956677d4350607b878104d2365f4d /engines
parent7f4e1bde1edd3f1c08848b1a1f77505758f2ea13 (diff)
downloadscummvm-rg350-caab21426026ab70799d39607b23bad382332620.tar.gz
scummvm-rg350-caab21426026ab70799d39607b23bad382332620.tar.bz2
scummvm-rg350-caab21426026ab70799d39607b23bad382332620.zip
HUGO: Fix on more GCC warning
svn-id: r55454
Diffstat (limited to 'engines')
-rw-r--r--engines/hugo/file_v2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/file_v2d.cpp b/engines/hugo/file_v2d.cpp
index 3a99c68382..b5ff9722fb 100644
--- a/engines/hugo/file_v2d.cpp
+++ b/engines/hugo/file_v2d.cpp
@@ -173,7 +173,7 @@ char *FileManager_v2d::fetchString(int index) {
error("An error has occurred: bad String offset");
// Check size of string
- if ((off2 - off1) >= kMaxBoxChar)
+ if ((off2 - off1) >= (uint32) kMaxBoxChar)
error("Fetched string too long!");
// Position to string and read it into gen purpose _textBoxBuffer