Fixed two compile-warnings
Merge pull request #55 from simongog/fix_compile_warnings

Fixed two compile-warnings