fixed type size warnings.