Fix enum comparison to reenable -Wenum-compare

Test: m
Change-Id: Id0e0907a53416b49a149e43e4f5c6fb18fd6aaaa
1 file changed