Fixed build warning of signed/unsigned conditional expression