Fix compilation errors on clang
Merge pull request #4 from cachapa/master

Fix compilation errors on clang