Fix size conversion warnings.