[Win32] fix argument type.
- argument of interface is ssize_t.
Merge pull request #4500 from pyrasis/develop

[Win32] fix compile error.