@@ -3515,11 +3515,11 @@ printVerboseErrorMessages(CState *st, pg_time_usec_t *now, bool is_retry)
3515
3515
(is_retry ?
3516
3516
"repeats the transaction after the error" :
3517
3517
"ends the failed transaction" ));
3518
- appendPQExpBuffer (buf , " (try %d " , st -> tries );
3518
+ appendPQExpBuffer (buf , " (try %u " , st -> tries );
3519
3519
3520
3520
/* Print max_tries if it is not unlimitted. */
3521
3521
if (max_tries )
3522
- appendPQExpBuffer (buf , "/%d " , max_tries );
3522
+ appendPQExpBuffer (buf , "/%u " , max_tries );
3523
3523
3524
3524
/*
3525
3525
* If the latency limit is used, print a percentage of the current transaction
@@ -4569,7 +4569,7 @@ doLog(TState *thread, CState *st,
4569
4569
if (throttle_delay )
4570
4570
fprintf (logfile , " %.0f" , lag );
4571
4571
if (max_tries != 1 )
4572
- fprintf (logfile , " %d " , st -> tries - 1 );
4572
+ fprintf (logfile , " %u " , st -> tries - 1 );
4573
4573
fputc ('\n' , logfile );
4574
4574
}
4575
4575
}
@@ -6262,7 +6262,7 @@ printResults(StatsData *total,
6262
6262
printf ("number of threads: %d\n" , nthreads );
6263
6263
6264
6264
if (max_tries )
6265
- printf ("maximum number of tries: %d \n" , max_tries );
6265
+ printf ("maximum number of tries: %u \n" , max_tries );
6266
6266
6267
6267
if (duration <= 0 )
6268
6268
{
0 commit comments