diff options
| -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 |
