summaryrefslogtreecommitdiffstats
path: root/generic/tclInterp.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-24 20:10:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-24 20:10:25 (GMT)
commitf786cb097f2b4dedaf17c38b8246e76df1a73ce5 (patch)
tree44800cd8681e698777665467b8e06d5b2432d9df /generic/tclInterp.c
parent5a02d5db9cec007d16a60b24bd8cd0b1912d123f (diff)
downloadtcl-f786cb097f2b4dedaf17c38b8246e76df1a73ce5.zip
tcl-f786cb097f2b4dedaf17c38b8246e76df1a73ce5.tar.gz
tcl-f786cb097f2b4dedaf17c38b8246e76df1a73ce5.tar.bz2
Another round of int -> size_t modifications, so strings > 2Gb are handled correctly on 64-bit platforms.
Diffstat (limited to 'generic/tclInterp.c')
-rw-r--r--generic/tclInterp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/generic/tclInterp.c b/generic/tclInterp.c
index 607ccac..dd9fec8 100644
--- a/generic/tclInterp.c
+++ b/generic/tclInterp.c
@@ -4564,7 +4564,8 @@ SlaveCommandLimitCmd(
Tcl_WrongNumArgs(interp, consumedObjc, objv, "?-option value ...?");
return TCL_ERROR;
} else {
- int i, scriptLen = 0, limitLen = 0;
+ int i;
+ size_t scriptLen = 0, limitLen = 0;
Tcl_Obj *scriptObj = NULL, *granObj = NULL, *limitObj = NULL;
int gran = 0, limit = 0;
@@ -4769,7 +4770,8 @@ SlaveTimeLimitCmd(
Tcl_WrongNumArgs(interp, consumedObjc, objv, "?-option value ...?");
return TCL_ERROR;
} else {
- int i, scriptLen = 0, milliLen = 0, secLen = 0;
+ int i;
+ size_t scriptLen = 0, milliLen = 0, secLen = 0;
Tcl_Obj *scriptObj = NULL, *granObj = NULL;
Tcl_Obj *milliObj = NULL, *secObj = NULL;
int gran = 0;