X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=select.c;h=2c0319bf22ec7271572bdaaea4d763a22666124a;hb=3d7011401ecf4caad2d95d31d184aeebb43ed2c8;hp=f16cf5fc7dad97c65b2beb0215e22f9d48c4dd40;hpb=4b0a2dcc8145c6b721a23c2a9bfe9f3f9596fb5a;p=ir-tcl-moved-to-github.git diff --git a/select.c b/select.c index f16cf5f..2c0319b 100644 --- a/select.c +++ b/select.c @@ -5,7 +5,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: select.c,v $ - * Revision 1.4 1997-08-28 20:20:48 adam + * Revision 1.5 1997-09-09 10:19:55 adam + * New MSV5.0 port with fewer warnings. + * + * Revision 1.4 1997/08/28 20:20:48 adam * Added support for Tk8.0/Tcl8.0. Since Tcl_File handlers are gone * we've moved to Tcl_Channel handlers instead. * @@ -87,7 +90,8 @@ void ir_tcl_select_set (void (*f)(ClientData clientData, int r, int w, int e), (*sp)->f = f; (*sp)->clientData = clientData; Tcl_CreateChannelHandler ((*sp)->tcl_Channel, mask, - ir_tcl_tk_select_proc, *sp); + ir_tcl_tk_select_proc, + (ClientData) *sp); } #endif