summaryrefslogtreecommitdiffstats
path: root/generic/tclListObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-24 11:53:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-24 11:53:34 (GMT)
commit8997eb06b951e71416f99c512ebed977f8cb61fb (patch)
tree2a8a720fea27602a18b4dc6201fa9bceb50e345d /generic/tclListObj.c
parent53ba10085a9de8ab30a7372eba6bfc937ff07dc5 (diff)
downloadtcl-8997eb06b951e71416f99c512ebed977f8cb61fb.zip
tcl-8997eb06b951e71416f99c512ebed977f8cb61fb.tar.gz
tcl-8997eb06b951e71416f99c512ebed977f8cb61fb.tar.bz2
Tcl Dicts > 2^31 elements too
Diffstat (limited to 'generic/tclListObj.c')
-rw-r--r--generic/tclListObj.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclListObj.c b/generic/tclListObj.c
index 747cf0d..37392e4 100644
--- a/generic/tclListObj.c
+++ b/generic/tclListObj.c
@@ -1961,7 +1961,8 @@ SetListFromAny(
if (!TclHasStringRep(objPtr) && TclHasInternalRep(objPtr, &tclDictType)) {
Tcl_Obj *keyPtr, *valuePtr;
Tcl_DictSearch search;
- int done, size;
+ int done;
+ size_t size;
/*
* Create the new list representation. Note that we do not need to do