Fixed VC warnings