Resolving some type truncation warnings in MSVC (enum to bool in this case). No functional changes intended.