diff options
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/win32.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h index 4a56895a84..4d8a66742f 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -693,8 +693,8 @@ int rb_w32_wopen(const WCHAR *, int, ...); int rb_w32_close(int); int rb_w32_fclose(FILE*); int rb_w32_pipe(int[2]); -size_t rb_w32_read(int, void *, size_t); -size_t rb_w32_write(int, const void *, size_t); +ssize_t rb_w32_read(int, void *, size_t); +ssize_t rb_w32_write(int, const void *, size_t); int rb_w32_utime(const char *, const struct utimbuf *); int rb_w32_uutime(const char *, const struct utimbuf *); long rb_w32_write_console(uintptr_t, int); /* use uintptr_t instead of VALUE because it's not defined yet here */ |