Fixed compiler error.
Merge pull request #8 from MChan19/master

Fixed compiler error for Xcode 6.1