Merge pull request #167 from devnexen/clang_build_warning_fixes

clang build warning fixes proposal