summaryrefslogtreecommitdiffstats
path: root/generic/tclUtil.c
diff options
context:
space:
mode:
authorstanton <stanton>1999-05-06 19:21:11 (GMT)
committerstanton <stanton>1999-05-06 19:21:11 (GMT)
commitc9350a70e9d66611aedab222d0c1befb0ae34bf8 (patch)
treef25062a1147f793b8344210a5325dbde0e156ff8 /generic/tclUtil.c
parentea802bf05a1a391f016813437bc85bde1e59b0c9 (diff)
downloadtcl-c9350a70e9d66611aedab222d0c1befb0ae34bf8.zip
tcl-c9350a70e9d66611aedab222d0c1befb0ae34bf8.tar.gz
tcl-c9350a70e9d66611aedab222d0c1befb0ae34bf8.tar.bz2
lint
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r--generic/tclUtil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c
index 16ec609..fa4c22f 100644
--- a/generic/tclUtil.c
+++ b/generic/tclUtil.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: tclUtil.c,v 1.10 1999/05/06 18:46:42 stanton Exp $
+ * RCS: @(#) $Id: tclUtil.c,v 1.11 1999/05/06 19:21:11 stanton Exp $
*/
#include "tclInt.h"
@@ -2063,7 +2063,7 @@ TclGetIntForIndex(interp, objPtr, endValue, indexPtr)
bytes = Tcl_GetStringFromObj(objPtr, &length);
if ((*bytes != 'e') ||
- (strncmp(bytes, "end", (length > 3) ? 3 : length) != 0)) {
+ (strncmp(bytes, "end", (size_t)((length > 3) ? 3 : length)) != 0)) {
if (Tcl_GetIntFromObj(NULL, objPtr, &offset) != TCL_OK) {
goto intforindex_error;
}