diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | include/ruby/win32.h | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Nov 29 14:19:40 2010 NAKAMURA Usaku <usa@ruby-lang.org> + + * include/ruby/win32.h (rb_w32_write_console): wrong prototype. + Mon Nov 29 14:10:55 2010 NAKAMURA Usaku <usa@ruby-lang.org> * win32/win32.c (rb_w32_write_console): fixed indentation. diff --git a/include/ruby/win32.h b/include/ruby/win32.h index b72884affd..fac83d4d07 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -654,7 +654,7 @@ size_t rb_w32_read(int, void *, size_t); size_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(unsigned long, int); +long rb_w32_write_console(uintptr_t, int); /* use uintptr_t instead of VALUE because it's not defined yet here */ int WINAPI rb_w32_Sleep(unsigned long msec); int rb_w32_wait_events_blocking(HANDLE *events, int num, DWORD timeout); |