Fix Xode type conversion warnings.