diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-03-16 09:16:39 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-03-16 09:16:39 (GMT) |
commit | 0013597b33c5df5a4239d2fc042d9eeb597e94e0 (patch) | |
tree | 90947f076535ea5ba5b78470d19149ca9d52ffe0 /generic/tclThreadAlloc.c | |
parent | c54d29df06056eda6a5dd8c5845283204d56418f (diff) | |
download | tcl-0013597b33c5df5a4239d2fc042d9eeb597e94e0.zip tcl-0013597b33c5df5a4239d2fc042d9eeb597e94e0.tar.gz tcl-0013597b33c5df5a4239d2fc042d9eeb597e94e0.tar.bz2 |
Fix gcc warnings
Diffstat (limited to 'generic/tclThreadAlloc.c')
-rw-r--r-- | generic/tclThreadAlloc.c | 2 |
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 */ |