Fix raw pointer conversions with respect to arithmetic.