fix incompatible pointer type warning for Deployment Targets >= iOS 6.0