Skip to content

Commit 6804835

Browse files
nijtmanssjaeckel
authored andcommitted
more spacing around PRIu64, needed for C++ compatibility
1 parent 9f2cd04 commit 6804835

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

etc/tune.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ static void s_run(const char *name, uint64_t (*op)(int size), int *cutoff)
179179
exit(EXIT_FAILURE);
180180
}
181181
if (args.verbose == 1) {
182-
printf("%d: %9"PRIu64" %9"PRIu64", %9"PRIi64"\n", x, t1, t2, (int64_t)t2 - (int64_t)t1);
182+
printf("%d: %9" PRIu64 " %9" PRIu64 ", %9" PRIi64 "\n", x, t1, t2, (int64_t)t2 - (int64_t)t1);
183183
}
184184
if (t2 < t1) {
185185
if (count == s_stabilization_extra) {
@@ -504,20 +504,20 @@ int main(int argc, char **argv)
504504
t1 = s_time_mul(x);
505505
set_cutoffs(&orig);
506506
t2 = s_time_mul(x);
507-
fprintf(multiplying, "%d: %9"PRIu64" %9"PRIu64", %9"PRIi64"\n", x, t1, t2, (int64_t)t2 - (int64_t)t1);
507+
fprintf(multiplying, "%d: %9" PRIu64 " %9" PRIu64 ", %9" PRIi64 "\n", x, t1, t2, (int64_t)t2 - (int64_t)t1);
508508
fflush(multiplying);
509509
if (args.verbose == 1) {
510-
printf("MUL %d: %9"PRIu64" %9"PRIu64", %9"PRIi64"\n", x, t1, t2, (int64_t)t2 - (int64_t)t1);
510+
printf("MUL %d: %9" PRIu64 " %9" PRIu64 ", %9" PRIi64 "\n", x, t1, t2, (int64_t)t2 - (int64_t)t1);
511511
fflush(stdout);
512512
}
513513
set_cutoffs(&max_cutoffs);
514514
t1 = s_time_sqr(x);
515515
set_cutoffs(&orig);
516516
t2 = s_time_sqr(x);
517-
fprintf(squaring,"%d: %9"PRIu64" %9"PRIu64", %9"PRIi64"\n", x, t1, t2, (int64_t)t2 - (int64_t)t1);
517+
fprintf(squaring,"%d: %9" PRIu64 " %9" PRIu64 ", %9" PRIi64 "\n", x, t1, t2, (int64_t)t2 - (int64_t)t1);
518518
fflush(squaring);
519519
if (args.verbose == 1) {
520-
printf("SQR %d: %9"PRIu64" %9"PRIu64", %9"PRIi64"\n", x, t1, t2, (int64_t)t2 - (int64_t)t1);
520+
printf("SQR %d: %9" PRIu64 " %9" PRIu64 ", %9" PRIi64 "\n", x, t1, t2, (int64_t)t2 - (int64_t)t1);
521521
fflush(stdout);
522522
}
523523
}

0 commit comments

Comments
 (0)