Fixed compiler warnings
Merge pull request #2 from digineo/warnings_fix

Fixed compiler warnings