summaryrefslogtreecommitdiffstats
path: root/generic/tclEnv.c
diff options
context:
space:
mode:
authorericm <ericm>2000-08-11 17:42:40 (GMT)
committerericm <ericm>2000-08-11 17:42:40 (GMT)
commitf27595166b79ca080f874d01242aeed2e8459d0f (patch)
tree1ef860d0a82addab75cb9f50204f19616ed16100 /generic/tclEnv.c
parent3ba754a2fb35b2f855e2139b0c83e56ff06af171 (diff)
downloadtcl-f27595166b79ca080f874d01242aeed2e8459d0f.zip
tcl-f27595166b79ca080f874d01242aeed2e8459d0f.tar.gz
tcl-f27595166b79ca080f874d01242aeed2e8459d0f.tar.bz2
* generic/tclEnv.c (TclUnsetEnv): Changed declaration of length
variable from "unsigned int" to "int", to match usage when passed to TclpFindVariable [Bug: 6126].
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 0eda081..1650ed2 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.8 2000/05/22 23:54:31 hobbs Exp $
+ * RCS: @(#) $Id: tclEnv.c,v 1.9 2000/08/11 17:42:41 ericm Exp $
*/
#include "tclInt.h"
@@ -356,7 +356,7 @@ TclUnsetEnv(name)
CONST char *name; /* Name of variable to remove (UTF-8). */
{
char *oldValue;
- unsigned int length;
+ int length;
int index;
#ifdef USE_PUTENV
Tcl_DString envString;