Fix MSVC /W4 warnings
Merge pull request #47 from sekogan/master

Fix MSVC /W4 warnings