From 59945ac2d03f77e829669922e3b48fb91818444a Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Sat, 8 Jan 2011 20:34:54 +0000 Subject: DC: Fix a compilation warning svn-id: r55172 --- backends/platform/dc/dcmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends') 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]); } -- cgit v1.2.3