GUI: Fix warning on systems where char is unsigned
This commit is contained in:
parent
1ba3d462d2
commit
759cac0abc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue