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

Change-Id: I8094180c898c89351caa4805e395c3f3f2b0a946