Skip to content

Commit

Permalink
TclWideMUInt may be signed on some platforms, back to WIDE_MAX for de…
Browse files Browse the repository at this point in the history
…fault max count (9e18 is anyway large enough)
  • Loading branch information
sebres committed Jan 23, 2025
2 parents bde3752 + d29e168 commit 7399b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic/tclCmdMZ.c
Original file line number Diff line number Diff line change
Expand Up @@ -4307,7 +4307,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) */
Expand Down

0 comments on commit 7399b04

Please sign in to comment.