Fixes MSVC++ C4800 error (converting char to bool)