diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-29 13:52:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-11-29 13:52:26 +0000 |
commit | 8fba2b63ec2a8c0f5e43606325af9a283dd90976 (patch) | |
tree | 56b1cde8b395918149dcf33b45a89bb1d02f8237 /win32 | |
parent | f4c909b96551cad967140448db96a02362d6d710 (diff) | |
download | ruby-8fba2b63ec2a8c0f5e43606325af9a283dd90976.tar.gz |
* win32/win32.c (rb_w32_write_console): fix argument type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 35cb686d1c..67160bdb71 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -5287,11 +5287,12 @@ rb_w32_write(int fd, const void *buf, size_t size) } long -rb_w32_write_console(VALUE str, int fd) +rb_w32_write_console(uintptr_t strarg, int fd) { static int disable; HANDLE handle; DWORD dwMode, reslen; + VALUE str = strarg; if (disable) return -1L; handle = (HANDLE)_osfhnd(fd); |