summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2001-09-28 16:06:12 (GMT)
committerKevin B Kenny <kennykb@acm.org>2001-09-28 16:06:12 (GMT)
commitd06893d67469c6e5b6dcdc0f219281fc5c45aa2f (patch)
tree19c28f11c119dd09a3aeb1993bfa030ede7f5676 /generic
parent98bc47debac65f50b1b14eb7c32f6afe37bdf51a (diff)
downloadtcl-d06893d67469c6e5b6dcdc0f219281fc5c45aa2f.zip
tcl-d06893d67469c6e5b6dcdc0f219281fc5c45aa2f.tar.gz
tcl-d06893d67469c6e5b6dcdc0f219281fc5c45aa2f.tar.bz2
Added necessary casts to ClientData on a pair of calls to Tcl_Preserve
and Tcl_Release.
Diffstat (limited to 'generic')
-rw-r--r--generic/tclIO.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index 5233d73..871a8c7 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIO.c,v 1.37 2001/09/28 00:41:20 dgp Exp $
+ * RCS: @(#) $Id: tclIO.c,v 1.38 2001/09/28 16:06:12 kennykb Exp $
*/
#include "tclInt.h"
@@ -6735,11 +6735,11 @@ ChannelTimerProc(clientData)
(Tcl_ChannelBlockModeProc(chanPtr->typePtr) == NULL)) {
statePtr->flags |= CHANNEL_TIMER_FEV;
}
- Tcl_Preserve(statePtr);
+ Tcl_Preserve((ClientData) statePtr);
Tcl_NotifyChannel((Tcl_Channel)chanPtr, TCL_READABLE);
statePtr->flags &= ~CHANNEL_TIMER_FEV;
- Tcl_Release(statePtr);
+ Tcl_Release((ClientData) statePtr);
} else {
statePtr->timer = NULL;
UpdateInterest(chanPtr);