Fix the 32bit signedness comparison