summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-10 01:53:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-10 01:53:52 +0000
commit0ced6054342c27a0d1d93f4d767ea14c5b020475 (patch)
tree81b88d68a9fdffab23f6d774ef7a1fbdb97b82b6 /win32
parent977907630045a02510d377b195ca0d80d10df5ea (diff)
* win32/win32.c (rb_w32_open_osfhandle): reverted to old definition.
[ ruby-Bugs-16948 ] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 74a6a7f4b6..3c16e57df1 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -1836,7 +1836,7 @@ init_stdhandle(void)
#ifdef __BORLANDC__
static int
-rb_w32_open_osfhandle(intptr_t osfhandle, int flags)
+rb_w32_open_osfhandle(long osfhandle, int flags)
{
int fd = _open_osfhandle(osfhandle, flags);
if (fd == -1) {