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

Change-Id: I0eef8d71334a29a773aaff80c9d1c1ae8b9d9842