diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-29 05:20:08 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-29 05:20:08 +0000 |
commit | dd4c394564d05f6d70afcf78671b62350c2ab179 (patch) | |
tree | e9e802e805855a9d769599826952be22feac4c40 | |
parent | 5b54e9e6859c6d89c7e1ffda6a20108628d22a74 (diff) | |
download | ruby-dd4c394564d05f6d70afcf78671b62350c2ab179.tar.gz |
* include/ruby/win32.h (rb_w32_write_console): wrong prototype.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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); |