summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-01-26 01:10:08 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-01-26 01:10:08 (GMT)
commit107d41756017e763fb66994fb0ba6072b20a7d2b (patch)
treee98bf2d4819a5270b97f764736441c86b9eb51e3 /generic/tclIO.c
parent727dc02ba3e05c4df81068bc3fd0ac3a8c98328b (diff)
downloadtcl-107d41756017e763fb66994fb0ba6072b20a7d2b.zip
tcl-107d41756017e763fb66994fb0ba6072b20a7d2b.tar.gz
tcl-107d41756017e763fb66994fb0ba6072b20a7d2b.tar.bz2
* Sought out and eliminated instances of CONST-casting that are no
longer needed after the TIP 27 effort.
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 75f6d42..ed5598c 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.50 2002/01/25 23:06:58 mdejong Exp $
+ * RCS: @(#) $Id: tclIO.c,v 1.51 2002/01/26 01:10:08 dgp Exp $
*/
#include "tclInt.h"
@@ -2061,7 +2061,7 @@ FlushChannel(interp, chanPtr, calledFromAsyncFlush)
toWrite = bufPtr->nextAdded - bufPtr->nextRemoved;
written = (chanPtr->typePtr->outputProc) (chanPtr->instanceData,
- (char *) bufPtr->buf + bufPtr->nextRemoved, toWrite,
+ bufPtr->buf + bufPtr->nextRemoved, toWrite,
&errorCode);
/*
@@ -5913,7 +5913,7 @@ Tcl_BadChannelOption(interp, optionName, optionList)
Tcl_DString ds;
Tcl_DStringInit(&ds);
- Tcl_DStringAppend(&ds, (char *) genericopt, -1);
+ Tcl_DStringAppend(&ds, genericopt, -1);
if (optionList && (*optionList)) {
Tcl_DStringAppend(&ds, " ", 1);
Tcl_DStringAppend(&ds, optionList, -1);