fix visual studio 64 warnings