summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index b67a094fe4..27f425e005 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -1005,7 +1005,7 @@ NtCmdGlob (NtCmdLineElement *patt)
for (p = buf; *p; p = CharNext(p))
if (*p == '\\')
*p = '/';
- rb_globi(buf, insert, (VALUE)&listinfo);
+ rb_globi(buf, (void (*) _((const char*, VALUE)))insert, (VALUE)&listinfo);
if (buf != buffer)
free(buf);