summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-17 07:22:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-17 07:22:25 (GMT)
commitb0b0693bba42161f3216f4d6df86489561a0c3bd (patch)
tree38de82de0003274e9d158496295685b04418ae36 /generic
parent2bf9ac5c065b710c9be50994eb2dd0a6b69c031e (diff)
parentbd2e73ff510f8fd5d9291cc8eff89544cdce2583 (diff)
downloadtcl-b0b0693bba42161f3216f4d6df86489561a0c3bd.zip
tcl-b0b0693bba42161f3216f4d6df86489561a0c3bd.tar.gz
tcl-b0b0693bba42161f3216f4d6df86489561a0c3bd.tar.bz2
Merge 8.7
Diffstat (limited to 'generic')
-rw-r--r--generic/tclTest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c
index 1620966..f7ee107 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -6986,7 +6986,7 @@ TestUtfNextCmd(
}
bytes = Tcl_GetStringFromObj(objv[1], &numBytes);
- if (numBytes + 4 > sizeof(buffer)) {
+ if (numBytes + 4U > sizeof(buffer)) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"\"testutfnext\" can only handle %" TCL_Z_MODIFIER "u bytes",
sizeof(buffer) - 4));