fix msvc warning C4804: '/' : unsafe use of type 'bool' in operation

Hey there.

Minor warning fix for MSVC warning C4804: '/' : unsafe use of type 'bool' in operation.

I cannot give exact reproduction steps as warning pop ups on my compiler from time to time. 
It must be some magic combination of directives and options :-S

Keep up the good work
- rlyeh