Fix warning signed/unsigned conversion.