Merge pull request #22 from SPK201/master

Fixed warnings.
Merge pull request #24 from SPK201/master

One more and the last warning fix, forgot to commit last time.
fix type error.
Merge pull request #26 from charlescui/master

fix type error on macos 10.9
Merge git://github.com/Spooner/ashton