Fix up compiler warnings.
Merge pull request #14 from mgatny/fixup_compiler_warnings

Fix up compiler warnings.