diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclInterp.c | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2002-07-31 Miguel Sofer <msofer@users.sourceforge.net> + + * generic/tclInterp.c: signed/unsigned comparison warning fixed + (Vince Darley). + 2002-07-31 Donal K. Fellows <fellowsd@cs.man.ac.uk> * unix/tcl.m4 (SC_BUGGY_STRTOD): Enabled caching of test results. diff --git a/generic/tclInterp.c b/generic/tclInterp.c index 06d81fe..77becd1 100644 --- a/generic/tclInterp.c +++ b/generic/tclInterp.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclInterp.c,v 1.14 2002/07/29 15:56:54 msofer Exp $ + * RCS: @(#) $Id: tclInterp.c,v 1.15 2002/07/31 12:34:23 msofer Exp $ */ #include "tclInt.h" @@ -50,7 +50,7 @@ typedef struct Alias { * redirecting to it. Random access to this * hash table is never required - we are using * a hash table only for convenience. */ - unsigned int objc; /* Count of Tcl_Obj in the prefix of the + int objc; /* Count of Tcl_Obj in the prefix of the * target command to be invoked in the * target interpreter. Additional arguments * specified when calling the alias in the @@ -1347,7 +1347,7 @@ AliasDescribe(interp, slaveInterp, namePtr) return TCL_OK; } aliasPtr = (Alias *) Tcl_GetHashValue(hPtr); - prefixPtr = Tcl_NewListObj((int) aliasPtr->objc, &aliasPtr->objPtr); + prefixPtr = Tcl_NewListObj(aliasPtr->objc, &aliasPtr->objPtr); Tcl_SetObjResult(interp, prefixPtr); return TCL_OK; } |