Fixing warning of Xcode 6