fix strict VS2010 ANSI "warnings"