fix g++ warnings
add missing brackets
Merge pull request #10 from psychocoderHPC/fix/compileWarnings

fix g++ warnings