Solve Visual C++ warning C4805 on getAsInteger<bool>.