diff options
author | Marcus Comstedt | 2011-01-08 20:34:54 +0000 |
---|---|---|
committer | Marcus Comstedt | 2011-01-08 20:34:54 +0000 |
commit | 59945ac2d03f77e829669922e3b48fb91818444a (patch) | |
tree | f7dc895661f019d2f2a65284ac1b70c848a66d04 | |
parent | 98e057603cff921a06b21024735bf8895fb6a29e (diff) | |
download | scummvm-rg350-59945ac2d03f77e829669922e3b48fb91818444a.tar.gz scummvm-rg350-59945ac2d03f77e829669922e3b48fb91818444a.tar.bz2 scummvm-rg350-59945ac2d03f77e829669922e3b48fb91818444a.zip |
DC: Fix a compilation warning
svn-id: r55172
-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]); } |