openbsd-ports/mbone/nte/patches/patch-src_iohandler_c

13 lines
418 B
Plaintext

$OpenBSD: patch-src_iohandler_c,v 1.1 2002/10/10 12:04:16 naddy Exp $
--- src/iohandler.c.orig Thu Oct 10 13:53:35 2002
+++ src/iohandler.c Thu Oct 10 13:57:58 2002
@@ -133,7 +133,7 @@ void linksocket(int fd, int mask, Tcl_Fi
}
sockproc[fd] = callback;
#else
- Tcl_CreateFileHandler(fd, mask, callback, (ClientData) fd);
+ Tcl_CreateFileHandler(fd, mask, callback, (ClientData)(long)fd);
#endif
}