[develop] Warning fixes.
Reverts samples/Cpp/HelloCpp/proj.win32/main.cpp
Merge pull request #3558 from dumganhar/warning-fixes

[develop] Warning fixes.