fixing convertion warning on windows