summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog6
-rw-r--r--generic/tclIO.c6
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 <kennykb@users.sourceforge.net>
+
+ * 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 <fellowsd@cs.man.ac.uk>
* 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);