diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-04-08 09:13:24 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-04-08 09:13:24 (GMT) |
commit | b65a7b7a4c0158ebe20ac113a3e65ad1d331a397 (patch) | |
tree | 9f549b51d6cab74b37ad833fb8f6da38ac322743 /generic | |
parent | 84ff1fb2d98ae85007f676e3872803497dbea1fe (diff) | |
parent | 616b93b0239bfc54be3cc05955f22e6a07ed0127 (diff) | |
download | tcl-b65a7b7a4c0158ebe20ac113a3e65ad1d331a397.zip tcl-b65a7b7a4c0158ebe20ac113a3e65ad1d331a397.tar.gz tcl-b65a7b7a4c0158ebe20ac113a3e65ad1d331a397.tar.bz2 |
Merge 8.6
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclStringObj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c index 7d4aef3..114e8a6 100644 --- a/generic/tclStringObj.c +++ b/generic/tclStringObj.c @@ -4394,7 +4394,7 @@ ExtendStringRepWithUnicode( } for (i = 0; i < numChars && size >= 0; i++) { - size += TclUtfCount(unicode[i]); + size += (unsigned int)TclUtfCount(unicode[i]); } if (size < 0) { Tcl_Panic("max size for a Tcl value (%d bytes) exceeded", INT_MAX); |