main: fix compiler warnings.
Merge pull request #17 from olajep/pr-compiler-warnings

main: fix compiler warnings.