WaE: implicit conversion (IntegralCast) from bool to 'int'

Change-Id: I3431d256bde60a2b3fa8de9a0ef43d1a0f1dc3df