use different type for pointer arithmetic