Fixed Xcode 5.1 compiler warnings