summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
Diffstat (limited to 'dist')
-rw-r--r--dist/IO/IO.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/IO/IO.xs b/dist/IO/IO.xs
index efb0ed6695..360b067af2 100644
--- a/dist/IO/IO.xs
+++ b/dist/IO/IO.xs
@@ -540,7 +540,7 @@ sockatmark (sock)
int flag = 0;
# ifdef SIOCATMARK
# if defined(NETWARE) || defined(WIN32)
- if (ioctl(fd, SIOCATMARK, (void*)&flag) != 0)
+ if (ioctl(fd, SIOCATMARK, (char*)&flag) != 0)
# else
if (ioctl(fd, SIOCATMARK, &flag) != 0)
# endif