Resolve all compilation warnings.
Merge pull request #1 from mattkelly/master

Resolve all compilation warnings.