summaryrefslogtreecommitdiffstats
path: root/generic/tclEnv.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/tclEnv.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/tclEnv.c')
-rw-r--r--generic/tclEnv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclEnv.c b/generic/tclEnv.c
index 35fa180..792835c 100644
--- a/generic/tclEnv.c
+++ b/generic/tclEnv.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclEnv.c,v 1.10 2002/01/25 20:40:55 dgp Exp $
+ * RCS: @(#) $Id: tclEnv.c,v 1.11 2002/01/26 01:10:08 dgp Exp $
*/
#include "tclInt.h"
@@ -637,7 +637,7 @@ ReplaceString(oldStr, newStr)
ckfree((char *) environCache);
}
environCache = newCache;
- environCache[cacheSize] = (char *) newStr;
+ environCache[cacheSize] = newStr;
environCache[cacheSize+1] = NULL;
cacheSize += 5;
}