From d29e1685e7de88b6f8f71214d9eb014f500a09c7 Mon Sep 17 00:00:00 2001 From: sebres Date: Thu, 23 Jan 2025 12:13:18 +0000 Subject: TclWideMUInt may be signed on some platforms, back to WIDE_MAX for default max count (9e18 is anyway large enough) --- generic/tclCmdMZ.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c index acd07c9..8b625f5 100644 --- a/generic/tclCmdMZ.c +++ b/generic/tclCmdMZ.c @@ -4000,7 +4000,7 @@ Tcl_TimeRateObjCmd( TclWideMUInt lastCount = 0; /* Repetition count since last calculation. */ Tcl_WideInt maxms = WIDE_MIN; /* Maximal running time (in milliseconds) */ - TclWideMUInt maxcnt = UWIDE_MAX; + TclWideMUInt maxcnt = WIDE_MAX; /* Maximal count of iterations. */ TclWideMUInt threshold = 1; /* Current threshold for check time (faster * repeat count without time check) */ -- cgit v0.12