Fix some compiler warnings of Apple Xcode/Clang