From aef01f53945ad861aaa46fa9c7f10de49ee6fa5e Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Thu, 22 May 2025 09:25:06 +0000 Subject: Minor optimization: Make sure that TclIsSpaceProcM() doesn't call TclIsSpaceProc() for 'negative' byte values --- generic/tclInt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/tclInt.h b/generic/tclInt.h index 98cab9b..75608ae 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -3705,7 +3705,7 @@ MODULE_SCOPE void TclZipfsFinalize(void); MODULE_SCOPE int TclIsSpaceProc(int byte); #define TclIsSpaceProcM(byte) \ - (((byte) > 0x20) ? 0 : TclIsSpaceProc(byte)) + (((unsigned)(byte) > 0x20) ? 0 : TclIsSpaceProc(byte)) /* *---------------------------------------------------------------- -- cgit v0.12