fix warnings reported by MSVC
3 files changed