summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadAlloc.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-14 08:47:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-04-14 08:47:53 (GMT)
commit7f42387e71a69b938ecd25945d10f01f6e39bcc7 (patch)
treed6de8446022309740483d0f2db7f089749623f34 /generic/tclThreadAlloc.c
parent9ffcf83c49f17eca5cd2005902d378ac59aa7adf (diff)
parentccfe3f47fd0a170a819d29e0b22bba0003546796 (diff)
downloadtcl-7f42387e71a69b938ecd25945d10f01f6e39bcc7.zip
tcl-7f42387e71a69b938ecd25945d10f01f6e39bcc7.tar.gz
tcl-7f42387e71a69b938ecd25945d10f01f6e39bcc7.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 28475f9..727f061 100644
--- a/generic/tclThreadAlloc.c
+++ b/generic/tclThreadAlloc.c
@@ -564,7 +564,7 @@ TclThreadAllocObj(void)
cachePtr->numObjects = numMove = NOBJALLOC;
newObjsPtr = (Tcl_Obj *)TclpSysAlloc(sizeof(Tcl_Obj) * numMove, 0);
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 */