Fixed VS2010 build warning