summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadAlloc.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-16 09:26:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-16 09:26:48 (GMT)
commit006451f3a30a93e9563be866b9fe810ac385e6b5 (patch)
tree7bcb9e941764ebfc242e278587ff9a7cc1a0e86a /generic/tclThreadAlloc.c
parent2e8db9a108c3539b68e894749c0e05e1d5ae871e (diff)
parent0013597b33c5df5a4239d2fc042d9eeb597e94e0 (diff)
downloadtcl-006451f3a30a93e9563be866b9fe810ac385e6b5.zip
tcl-006451f3a30a93e9563be866b9fe810ac385e6b5.tar.gz
tcl-006451f3a30a93e9563be866b9fe810ac385e6b5.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclThreadAlloc.c')
-rw-r--r--generic/tclThreadAlloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclThreadAlloc.c b/generic/tclThreadAlloc.c
index f343196..1eb6315 100644
--- a/generic/tclThreadAlloc.c
+++ b/generic/tclThreadAlloc.c
@@ -538,7 +538,7 @@ TclThreadAllocObj(void)
cachePtr->numObjects = numMove = NOBJALLOC;
newObjsPtr = (Tcl_Obj *)TclpSysAlloc(sizeof(Tcl_Obj) * numMove);
if (newObjsPtr == NULL) {
- Tcl_Panic("alloc: could not allocate %ld new objects", numMove);
+ Tcl_Panic("alloc: could not allocate %" TCL_Z_MODIFIER "u new objects", numMove);
}
cachePtr->lastPtr = newObjsPtr + numMove - 1;
objPtr = cachePtr->firstObjPtr; /* NULL */