diff options
Diffstat (limited to 'backends/platform/dc')
-rw-r--r-- | backends/platform/dc/dcmain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/dc/dcmain.cpp b/backends/platform/dc/dcmain.cpp index 92cd000e0a..531bfe2fda 100644 --- a/backends/platform/dc/dcmain.cpp +++ b/backends/platform/dc/dcmain.cpp @@ -306,7 +306,7 @@ Common::String OSystem_Dreamcast::getSystemLanguage() const { "it_IT" }; int l = DC_Flash::get_locale_setting(); - if (l<0 || l>=sizeof(languages)/sizeof(languages[0])) + if (l<0 || ((unsigned)l)>=sizeof(languages)/sizeof(languages[0])) l = 1; return Common::String(languages[l]); } |