Fix enum comparison to reenable -Wenum-compare

Test: m && TH
Change-Id: Iebc8b7a4f814097fb0d9e7bf6ccdfc3b0b9089da
1 file changed