Compiler Error C2155

'?' : invalid left operand, expected arithmetic or pointer type

Your code includes an expression on the left hand side of a '?' that cannot be compared to zero (0). You must use an arithmetic or pointer type expression which can be compared to zero (0).