Fix compiler warnings

This commit is contained in:
Jacob Støren
2018-06-15 14:15:40 +02:00
parent ee195e909b
commit ecd8f7cfd8
2 changed files with 3 additions and 3 deletions

View File

@@ -99,7 +99,7 @@ bool RiaStdStringTools::startsWithAlphabetic(const std::string& s)
{
if (s.empty()) return false;
return isalpha(s[0]);
return isalpha(s[0]) != 0;
}
//--------------------------------------------------------------------------------------------------