diff options
author | Arnaud Boutonné | 2011-01-23 00:29:08 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2011-01-23 00:29:08 +0000 |
commit | caab21426026ab70799d39607b23bad382332620 (patch) | |
tree | f17833c29aa956677d4350607b878104d2365f4d /engines | |
parent | 7f4e1bde1edd3f1c08848b1a1f77505758f2ea13 (diff) | |
download | scummvm-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.cpp | 2 |
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 |