fix windows warning
Merge pull request #2104 from ZappoMan/fixwindowsbuild

fix windows warning