Fixing compiler warning C4800: 'type' forcing value to bool 'true' or 'false'
Merge pull request #4825

8d657a6 Fixing compiler warning C4800: 'type' forcing value to bool 'true' or 'false' (ENikS)