From bd2e73ff510f8fd5d9291cc8eff89544cdce2583 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Tue, 17 May 2022 07:21:51 +0000 Subject: Fix compiler warning in tclTest.c --- generic/tclTest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/tclTest.c b/generic/tclTest.c index cbd1f70..c740109 100644 --- a/generic/tclTest.c +++ b/generic/tclTest.c @@ -6985,7 +6985,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)); -- cgit v0.12