Fix a couple of compiler warnings
Merge pull request #5 from johto/compiler_warnings

Fix a couple of compiler warnings