Compiler warning C4800: 'type' forcing value to bool 'true' or 'false' (performance warning)

This warning is generated when a type value that is not bool is assigned or coerced into type bool. Typically, this message is caused by assigning int variables to bool variables where the int variable contains only values true and false, and could be re declared as type bool. Ii is generally recommended to add "(0 != X)" to the expression, which gives the expression the type bool.

For more info see: http://msdn.microsoft.com/en-us/library/b6801kcy.aspx
And rightfully so; the indentation was wrong...