summaryrefslogtreecommitdiff
path: root/mbone/sdr/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'mbone/sdr/patches/patch-ac')
-rw-r--r--mbone/sdr/patches/patch-ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/mbone/sdr/patches/patch-ac b/mbone/sdr/patches/patch-ac
new file mode 100644
index 00000000000..b7c83af0b19
--- /dev/null
+++ b/mbone/sdr/patches/patch-ac
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.3 1998/09/13 18:02:10 garbled Exp $
+--- src/iohandler.c.orig Sun Sep 13 10:28:50 1998
++++ src/iohandler.c Sun Sep 13 10:30:44 1998
+@@ -43,6 +43,7 @@
+ #include <time.h>
+ #include <winsock.h>
+ #endif
++#include <sys/inttypes.h>
+ #include <tk.h>
+ #ifdef WIN32
+ #define WM_WSOCK_READY WM_USER+123
+@@ -135,7 +136,7 @@
+ sockproc[fd] = callback;
+ #else
+ Tcl_CreateFileHandler(fd,
+- mask, callback, (ClientData)fd);
++ mask, callback, (ClientData)(intptr_t)fd);
+ #endif
+ }
+