Fix signed/unsigned compiler warnings.