Fix some clang compiler warnongs
Merge pull request #211 from rmcgibbo/compilerwarnings

Fix some clang compiler warnongs