mirror of
https://gitlab.com/spectre.app/cli.git
synced 2024-11-01 02:41:44 +01:00
Force a predictable size onto types when printing.
This commit is contained in:
parent
0fd58eba6b
commit
bba0db07fe
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ static const double mpw_show_speed(struct timeval startTime, const unsigned int
|
|||
const double speed = iterations / elapsed;
|
||||
|
||||
fprintf( stderr, " done. " );
|
||||
fprintf( stdout, "%d %s iterations in %lus %uµs -> %.2f/s\n", iterations, operation, dsec, dusec, speed );
|
||||
fprintf( stdout, "%d %s iterations in %lus %luµs -> %.2f/s\n", iterations, operation, (unsigned long)dsec, (unsigned long)dusec, speed );
|
||||
|
||||
return speed;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue