fix compiler warning on win32