summaryrefslogtreecommitdiffstats
path: root/generic/tclStrIdxTree.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclStrIdxTree.c')
-rw-r--r--generic/tclStrIdxTree.c8
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;