Fixed a wrong integer type

This commit is contained in:
Tsuda Kageyu 2013-06-21 11:31:51 +09:00
parent 09b574a19a
commit 90d43956ec

View File

@ -86,8 +86,8 @@ namespace
#endif
const int pos = s.rfind(".");
if(pos != -1)
const size_t pos = s.rfind(".");
if(pos != String::npos)
ext = s.substr(pos + 1).upper();
}