fix compiler warnings
Merge pull request #28 from bdpayne/cleanwarn

fix compiler warnings