diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-24 22:18:04 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-24 22:18:04 (GMT) |
commit | 75fffb6cb1f7ecccb2e0ab2a471bfb0628aea709 (patch) | |
tree | c460cae6ef7bc4d391246c08cddee80087f2cf36 /generic/tclCompile.h | |
parent | 86d928056639a8d39313f7c4ddf273e3522ff70c (diff) | |
download | tcl-75fffb6cb1f7ecccb2e0ab2a471bfb0628aea709.zip tcl-75fffb6cb1f7ecccb2e0ab2a471bfb0628aea709.tar.gz tcl-75fffb6cb1f7ecccb2e0ab2a471bfb0628aea709.tar.bz2 |
size_t continued
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r-- | generic/tclCompile.h | 8 |
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)]; \ |