Fix compiler warnings
Merge pull request #2 from ebowman/no-warnings

Fix compiler warnings