diff options
author | Max Horn | 2011-04-26 14:24:38 +0200 |
---|---|---|
committer | Max Horn | 2011-04-26 14:24:47 +0200 |
commit | 759cac0abc94f4ffab09c229d0218d6a89403d5b (patch) | |
tree | aed63a13e19eeff7953a1beb56868b0978ad47ab | |
parent | 1ba3d462d29494d8c831a594023f71e1d9ce73b8 (diff) | |
download | scummvm-rg350-759cac0abc94f4ffab09c229d0218d6a89403d5b.tar.gz scummvm-rg350-759cac0abc94f4ffab09c229d0218d6a89403d5b.tar.bz2 scummvm-rg350-759cac0abc94f4ffab09c229d0218d6a89403d5b.zip |
GUI: Fix warning on systems where char is unsigned
-rw-r--r-- | gui/ThemeEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp index 2f9c7ae279..e063e11674 100644 --- a/gui/ThemeEngine.cpp +++ b/gui/ThemeEngine.cpp @@ -1503,7 +1503,7 @@ Common::String ThemeEngine::genLocalizedFontFilename(const Common::String &filen bool ThemeEngine::themeConfigParseHeader(Common::String header, Common::String &themeName) { // Check that header is not corrupted - if (header[0] < 0 || header[0] > 127) { + if ((byte)header[0] > 127) { warning("Corrupted theme header found"); return false; } |