fixing win64 warnings