diff options
Diffstat (limited to 'generic')
| -rw-r--r-- | generic/tclDictObj.c | 2 | ||||
| -rw-r--r-- | generic/tclExecute.c | 2 | ||||
| -rw-r--r-- | generic/tclInt.h | 2 | ||||
| -rw-r--r-- | generic/tclStringObj.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclDictObj.c b/generic/tclDictObj.c index c4ff0fa..18a9a97 100644 --- a/generic/tclDictObj.c +++ b/generic/tclDictObj.c @@ -1057,7 +1057,7 @@ Tcl_DictObjRemove( *---------------------------------------------------------------------- */ -Tcl_Size +Tcl_Size TclDictGetSize(Tcl_Obj *dictPtr) { Dict *dict; diff --git a/generic/tclExecute.c b/generic/tclExecute.c index ea0b145..e9494d9 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -4697,7 +4697,7 @@ TEBCresume( if ((TclListObjGetElementsM(interp, valuePtr, &objc, &objv) == TCL_OK) && ( !TclHasInternalRep(value2Ptr, &tclListType.objType) - || + || ((Tcl_ListObjLength(interp,value2Ptr,&value2Length), value2Length == 1 ? (indexListPtr = TclListObjGetElement(value2Ptr, 0), 1) diff --git a/generic/tclInt.h b/generic/tclInt.h index cfa956a..ee8ea4f 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -2910,7 +2910,7 @@ static inline Tcl_Size TclUpsizeRetry(Tcl_Size needed, Tcl_Size lastAttempt) { MODULE_SCOPE void *TclAllocElemsEx(Tcl_Size elemCount, Tcl_Size elemSize, Tcl_Size leadSize, Tcl_Size *capacityPtr); MODULE_SCOPE void *TclReallocElemsEx(void *oldPtr, Tcl_Size elemCount, - Tcl_Size elemSize, Tcl_Size leadSize, + Tcl_Size elemSize, Tcl_Size leadSize, Tcl_Size *capacityPtr); MODULE_SCOPE void *TclAttemptReallocElemsEx(void *oldPtr, Tcl_Size elemCount, Tcl_Size elemSize, diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c index 5864ebc..be807cd 100644 --- a/generic/tclStringObj.c +++ b/generic/tclStringObj.c @@ -151,7 +151,7 @@ GrowStringBuffer( if (objPtr->bytes == &tclEmptyString) { objPtr->bytes = NULL; } - /* + /* * In code below, note 'capacity' and 'needed' include terminating nul, * while stringPtr->allocated does not. */ @@ -196,7 +196,7 @@ GrowUnicodeBuffer( maxChars -= 1; /* End nul not included */ } else { - /* + /* * First allocation - just big enough. Note needed does * not include terminating nul but STRING_SIZE does */ |
