Fix compiler warnings
Merge pull request #48 from plaprade/fix-warnings

Fix compiler warnings