summaryrefslogtreecommitdiffstats
path: root/generic/tclObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-14 10:10:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-14 10:10:30 (GMT)
commitf1b74b07572c8ac168a3313a6c71ec30f1a7485c (patch)
treef0aed383ff3df3c53cde48d4c9d5717d0580289b /generic/tclObj.c
parent8a90d26eafca6f78203e2af6e227e6404041b851 (diff)
parenta9eaf6765198716158f4927d71f64d20182f1ad2 (diff)
downloadtcl-f1b74b07572c8ac168a3313a6c71ec30f1a7485c.zip
tcl-f1b74b07572c8ac168a3313a6c71ec30f1a7485c.tar.gz
tcl-f1b74b07572c8ac168a3313a6c71ec30f1a7485c.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r--generic/tclObj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index 92c6655..16a95cd 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -567,7 +567,7 @@ TclContinuationsEnter(
ThreadSpecificData *tsdPtr = TclGetContLineTable();
Tcl_HashEntry *hPtr =
Tcl_CreateHashEntry(tsdPtr->lineCLPtr, objPtr, &newEntry);
- ContLineLoc *clLocPtr = (ContLineLoc *)ckalloc(offsetof(ContLineLoc, loc) + (num + 1) *sizeof(int));
+ ContLineLoc *clLocPtr = (ContLineLoc *)ckalloc(offsetof(ContLineLoc, loc) + (num + 1U) *sizeof(int));
if (!newEntry) {
/*