diff options
| author | Tyge Løvset <[email protected]> | 2022-03-04 13:18:35 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-03-04 13:18:35 +0100 |
| commit | 3c379fbfb2b7301cd5c4f5371a9f0b96a1369b60 (patch) | |
| tree | 46975c8374107e44fd9605894ce5b02d981ba538 /benchmarks/misc/string_bench.c | |
| parent | c4301c6b492bb962a943335bf8df4920b2a699cf (diff) | |
| download | STC-modified-3c379fbfb2b7301cd5c4f5371a9f0b96a1369b60.tar.gz STC-modified-3c379fbfb2b7301cd5c4f5371a9f0b96a1369b60.zip | |
Updated printf formatting to portable code. This was also to use http://winlibs.com gcc+clang with ucrt runtime-libs without warnings.
Diffstat (limited to 'benchmarks/misc/string_bench.c')
| -rw-r--r-- | benchmarks/misc/string_bench.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/misc/string_bench.c b/benchmarks/misc/string_bench.c index e93328d4..fb2a70b2 100644 --- a/benchmarks/misc/string_bench.c +++ b/benchmarks/misc/string_bench.c @@ -149,5 +149,5 @@ void benchmark(cvec_str vec_string, struct Maps maps) grandtotal += total;
printf(" timing:%5.0fms\n", (clock() - stopwatch) / (float)CLOCKS_PER_SEC * 1000.0f);
- printf("C grandtotal: %zu <--- Ignore this\n", grandtotal);
+ printf("C grandtotal: %" PRIuMAX " <--- Ignore this\n", grandtotal);
}
|
