Fix VC++ warnings

Fix VC++ warnings