Fix enum-compare warning

Explicitly cast enum type to int for value comparison.

Bug: 72330874
Test: m checkbuild
Change-Id: Ic0403fbb525c47a19c7d788686857f60ffb89990
(cherry picked from commit 2fe2a082cd1a99e3f83b55630dad4297a1119b3a)
1 file changed