diff options
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32.c b/win32/win32.c index 6699c2cd44..4d3080663b 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -5124,7 +5124,7 @@ rb_w32_close(int fd) } #undef read -size_t +ssize_t rb_w32_read(int fd, void *buf, size_t size) { SOCKET sock = TO_SOCKET(fd); @@ -5280,7 +5280,7 @@ rb_w32_read(int fd, void *buf, size_t size) } #undef write -size_t +ssize_t rb_w32_write(int fd, const void *buf, size_t size) { SOCKET sock = TO_SOCKET(fd); |