prevent warning of implicit type conversion in Xcode 5