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

Change-Id: If0d7ca02e8ecbc15eabc7807a71554ce11d92552