Correct enum comparison to reenable -Wenum-compare

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