summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-31 21:45:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-31 21:45:51 (GMT)
commit73922cbaaa2876287ba74baabdabb84ae81a3b5f (patch)
tree4d883e4bf8d01a48ccc3c8be874e5d6ea78f6754
parent798a505ffb312727e4e5b9d44891d067aeb9172e (diff)
downloadtcl-73922cbaaa2876287ba74baabdabb84ae81a3b5f.zip
tcl-73922cbaaa2876287ba74baabdabb84ae81a3b5f.tar.gz
tcl-73922cbaaa2876287ba74baabdabb84ae81a3b5f.tar.bz2
Make "word" in ForIterData size_t
;
-rw-r--r--generic/tclInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index a7e9823..4714c6f 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -2803,7 +2803,7 @@ typedef struct ForIterData {
Tcl_Obj *body; /* Loop body. */
Tcl_Obj *next; /* Loop step script, NULL for 'while'. */
const char *msg; /* Error message part. */
- int word; /* Index of the body script in the command */
+ size_t word; /* Index of the body script in the command */
} ForIterData;
/* TIP #357 - Structure doing the bookkeeping of handles for Tcl_LoadFile