summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
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)
commitcded81fbc215e1dc5ab0a363ffa7660bf99a6b85 (patch)
tree19c28f11c119dd09a3aeb1993bfa030ede7f5676 /generic/tclIO.c
parentb9f9bf9966fa9a2a3b42891df86e3ad29d0002cc (diff)
downloadtcl-cded81fbc215e1dc5ab0a363ffa7660bf99a6b85.zip
tcl-cded81fbc215e1dc5ab0a363ffa7660bf99a6b85.tar.gz
tcl-cded81fbc215e1dc5ab0a363ffa7660bf99a6b85.tar.bz2
Added necessary casts to ClientData on a pair of calls to Tcl_Preserve
and Tcl_Release.
Diffstat (limited to 'generic/tclIO.c')
-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);