diff options
| author | vincentdarley <vincentdarley> | 2003-11-03 12:48:52 (GMT) |
|---|---|---|
| committer | vincentdarley <vincentdarley> | 2003-11-03 12:48:52 (GMT) |
| commit | 851e386df1161d9b56b24ab68f36c395e6ad9d4c (patch) | |
| tree | 229a62ea599ea2e40013fb866ea3704d2d3cbe9b /generic/tclCmdIL.c | |
| parent | b4386d5e02e0e952171af210feedbc10f091bdaf (diff) | |
| download | tcl-851e386df1161d9b56b24ab68f36c395e6ad9d4c.zip tcl-851e386df1161d9b56b24ab68f36c395e6ad9d4c.tar.gz tcl-851e386df1161d9b56b24ab68f36c395e6ad9d4c.tar.bz2 | |
remove warning
Diffstat (limited to 'generic/tclCmdIL.c')
| -rw-r--r-- | generic/tclCmdIL.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCmdIL.c b/generic/tclCmdIL.c index ec8dd4c..cb53798 100644 --- a/generic/tclCmdIL.c +++ b/generic/tclCmdIL.c @@ -15,7 +15,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCmdIL.c,v 1.56 2003/11/01 01:20:33 dkf Exp $ + * RCS: @(#) $Id: tclCmdIL.c,v 1.57 2003/11/03 12:48:52 vincentdarley Exp $ */ #include "tclInt.h" @@ -2696,7 +2696,7 @@ Tcl_LrepeatObjCmd(dummy, interp, objc, objv) * memory, panic() will happen just a few lines lower... */ - if (elementCount > INT_MAX/sizeof(Tcl_Obj *)/objc) { + if ((unsigned)elementCount > INT_MAX/sizeof(Tcl_Obj *)/objc) { Tcl_AppendResult(interp, "overflow of maximum list length", NULL); return TCL_ERROR; } |
