Fixed an error and a warning for Xcode 6b6
Merge pull request #5 from iluuu1994/Xcode_6b6

Fixed an error and a warning for Xcode 6b6