summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
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) {