aboutsummaryrefslogtreecommitdiffstats
path: root/e_os.h
diff options
context:
space:
mode:
Diffstat (limited to 'e_os.h')
-rw-r--r--e_os.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/e_os.h b/e_os.h
index 3f7cdf4b51..aad0a7eaeb 100644
--- a/e_os.h
+++ b/e_os.h
@@ -541,7 +541,7 @@ extern char *sys_errlist[]; extern int sys_nerr;
#if defined(ioctlsocket)
#undef ioctlsocket
#endif
-#define ioctlsocket(a,b,c) ioctl((a),(b),*(c))
+#define ioctlsocket(a,b,c) ioctl((a),(b),*(int*)(c))
#include <vxWorks.h>
#include <sockLib.h>