From d06893d67469c6e5b6dcdc0f219281fc5c45aa2f Mon Sep 17 00:00:00 2001 From: Kevin B Kenny Date: Fri, 28 Sep 2001 16:06:12 +0000 Subject: Added necessary casts to ClientData on a pair of calls to Tcl_Preserve and Tcl_Release. --- ChangeLog | 6 ++++++ generic/tclIO.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index ef3a3f3..9dbd6bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-09-28 Kevin Kenny + + * generic/tclIO.c: added two more '(ClientData)' casts + on calls to Tcl_Preserve and Tcl_Release -- ones that + Vince apparently missed. + 2001-09-28 Donal K. Fellows * doc/lsort.n: Improved doc... 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); -- cgit v0.12