diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-14 14:31:55 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-04-14 14:31:55 (GMT) |
| commit | 1f20b318d467ba5648dba9462d98d727219e374e (patch) | |
| tree | a7823e7053aef3e791811d0f785ba4f765d1814e /generic/tclStrIdxTree.c | |
| parent | fc1d78b041e73c4fef5326e5794ff43f4993c13c (diff) | |
| download | tcl-1f20b318d467ba5648dba9462d98d727219e374e.zip tcl-1f20b318d467ba5648dba9462d98d727219e374e.tar.gz tcl-1f20b318d467ba5648dba9462d98d727219e374e.tar.bz2 | |
Some int -> Tcl_Size changes
Diffstat (limited to 'generic/tclStrIdxTree.c')
| -rw-r--r-- | generic/tclStrIdxTree.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclStrIdxTree.c b/generic/tclStrIdxTree.c index 533f73d..1c4cff3 100644 --- a/generic/tclStrIdxTree.c +++ b/generic/tclStrIdxTree.c @@ -252,7 +252,7 @@ TclStrIdxTreeBuildFromList( /* create lowercase reflection of the list keys */ - lwrv = (Tcl_Obj **) attemptckalloc(sizeof(Tcl_Obj*) * lstc); + lwrv = (Tcl_Obj **)attemptckalloc(sizeof(Tcl_Obj*) * lstc); if (lwrv == NULL) { return TCL_ERROR; } @@ -304,7 +304,7 @@ TclStrIdxTreeBuildFromList( * but don't split by fulfilled child of found item ( ii->iii->iiii ) */ if (foundItem->length != (f - s)) { /* first split found item (insert one between parent and found + new one) */ - item = (TclStrIdx *) attemptckalloc(sizeof(TclStrIdx)); + item = (TclStrIdx *)attemptckalloc(sizeof(TclStrIdx)); if (item == NULL) { goto done; } @@ -322,7 +322,7 @@ TclStrIdxTreeBuildFromList( } } /* append item at end of found parent */ - item = (TclStrIdx *) attemptckalloc(sizeof(TclStrIdx)); + item = (TclStrIdx *)attemptckalloc(sizeof(TclStrIdx)); if (item == NULL) { goto done; } @@ -517,7 +517,7 @@ TclStrIdxTreeTestObjCmd( case O_INDEX: case O_PUTS_INDEX: { Tcl_Obj **lstv; - int i, lstc; + Tcl_Size i, lstc; TclStrIdxTree idxTree = {NULL, NULL}; i = 1; |
