summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-24 22:18:04 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-24 22:18:04 (GMT)
commit75fffb6cb1f7ecccb2e0ab2a471bfb0628aea709 (patch)
treec460cae6ef7bc4d391246c08cddee80087f2cf36 /generic/tclCompile.h
parent86d928056639a8d39313f7c4ddf273e3522ff70c (diff)
downloadtcl-75fffb6cb1f7ecccb2e0ab2a471bfb0628aea709.zip
tcl-75fffb6cb1f7ecccb2e0ab2a471bfb0628aea709.tar.gz
tcl-75fffb6cb1f7ecccb2e0ab2a471bfb0628aea709.tar.bz2
size_t continued
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r--generic/tclCompile.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h
index 8ef81e8..fc5b498 100644
--- a/generic/tclCompile.h
+++ b/generic/tclCompile.h
@@ -198,8 +198,8 @@ typedef struct {
Tcl_Obj *path; /* Path of the sourced file the command is
* in. */
ECL *loc; /* Command word locations (lines). */
- int nloc; /* Number of allocated entries in 'loc'. */
- int nuloc; /* Number of used entries in 'loc'. */
+ size_t nloc; /* Number of allocated entries in 'loc'. */
+ size_t nuloc; /* Number of used entries in 'loc'. */
} ExtCmdLoc;
/*
@@ -1035,7 +1035,7 @@ MODULE_SCOPE const AuxDataType tclJumptableInfoType;
typedef struct {
size_t length; /* Size of array */
- int varIndices[TCLFLEXARRAY]; /* Array of variable indices to manage when
+ size_t varIndices[TCLFLEXARRAY]; /* Array of variable indices to manage when
* processing the start and end of a [dict
* update]. There is really more than one
* entry, and the structure is allocated to
@@ -1637,7 +1637,7 @@ MODULE_SCOPE int TclPushProcCallFrame(void *clientData,
#define DefineLineInformation \
ExtCmdLoc *mapPtr = envPtr->extCmdMapPtr; \
- int eclIndex = mapPtr->nuloc - 1
+ size_t eclIndex = mapPtr->nuloc - 1
#define SetLineInformation(word) \
envPtr->line = mapPtr->loc[eclIndex].line[(word)]; \