Get rid of compile warnings
Merge pull request #446 from martinpopel/warnings

Get rid of compile warnings