22 lines
560 B
Plaintext
22 lines
560 B
Plaintext
$OpenBSD: patch-iohandler_cc,v 1.1 2001/07/30 15:33:22 espie Exp $
|
|
--- iohandler.cc.orig Thu May 2 20:35:30 1996
|
|
+++ iohandler.cc Mon Jul 30 17:25:38 2001
|
|
@@ -132,7 +132,7 @@ void IOHandler::link(int fd, int mask)
|
|
|
|
}
|
|
#else
|
|
- Tk_CreateFileHandler((ClientData)fd, mask, callback, (ClientData)this);
|
|
+ Tk_CreateFileHandler(fd, mask, callback, (ClientData)this);
|
|
#endif
|
|
}
|
|
|
|
@@ -151,7 +151,7 @@ void IOHandler::unlink()
|
|
}
|
|
#else
|
|
if (fd_ >= 0) {
|
|
- Tk_DeleteFileHandler((ClientData)fd_);
|
|
+ Tk_DeleteFileHandler(fd_);
|
|
fd_ = -1;
|
|
}
|
|
#endif
|