Fixed Xcode Compiler warning