diff --git a/src/RageUtil.cpp b/src/RageUtil.cpp index 872734c1f4..8255f9e96d 100644 --- a/src/RageUtil.cpp +++ b/src/RageUtil.cpp @@ -1753,12 +1753,12 @@ void MakeLower( wchar_t *p, size_t iLen ) bool operator>>(const RString& lhs, int& rhs) { - return istringstream(lhs) >> rhs; + return !!(istringstream(lhs) >> rhs); } bool operator>>(const RString& lhs, float& rhs) { - return istringstream(lhs) >> rhs; + return !!(istringstream(lhs) >> rhs); } int StringToInt( const RString &sString )