WaE: implicit conversion of literal of type 'int' to 'bool'

Change-Id: Idf86fb4ac01a594d88e7d43c66b010c394ef217a