diff options
author | stanton <stanton@noemail.net> | 1999-05-06 19:21:11 (GMT) |
---|---|---|
committer | stanton <stanton@noemail.net> | 1999-05-06 19:21:11 (GMT) |
commit | b424d65a1976eab74ed77ef6dae9094bb303c90e (patch) | |
tree | f25062a1147f793b8344210a5325dbde0e156ff8 /generic/tclUtil.c | |
parent | a038c3b0b0c38fc85a2c10b75239c30af5c20569 (diff) | |
download | tcl-b424d65a1976eab74ed77ef6dae9094bb303c90e.zip tcl-b424d65a1976eab74ed77ef6dae9094bb303c90e.tar.gz tcl-b424d65a1976eab74ed77ef6dae9094bb303c90e.tar.bz2 |
lint
FossilOrigin-Name: e085a3ab0f3d9cd20f3f9112268b1a358200afac
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r-- | generic/tclUtil.c | 4 |
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; } |