Fix -Werror=sign-compare

Change-Id: I3c6ff1750d3e6aa6b3b19c957847289067fc5a54