Fix compiler warnings
Merge pull request #13 from tbeu/fix-warnings

Fix compiler warnings