summaryrefslogtreecommitdiffstats
path: root/generic/tclEnv.c
diff options
context:
space:
mode:
authorericm <ericm@noemail.net>2000-08-11 17:42:40 (GMT)
committerericm <ericm@noemail.net>2000-08-11 17:42:40 (GMT)
commite883a123825eb603adc57e3e683c2535e222ca36 (patch)
tree1ef860d0a82addab75cb9f50204f19616ed16100 /generic/tclEnv.c
parentf620766a6550c1f0a766a3033272640dabd7a2c5 (diff)
downloadtcl-e883a123825eb603adc57e3e683c2535e222ca36.zip
tcl-e883a123825eb603adc57e3e683c2535e222ca36.tar.gz
tcl-e883a123825eb603adc57e3e683c2535e222ca36.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]. FossilOrigin-Name: 0b29a04cd54eb807a537e378a04404a168abcce6
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;