Commit 90f4f149 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix cast for %jd

parent 90fe6063
......@@ -561,8 +561,8 @@ bench(void)
s = VTIM_mono();
for (i=0; i<100000; i++) {
snprintf(buf, sizeof(buf), "%ju.%06ju",
(uint64_t)floor(s),
(uint64_t)floor((s * 1e6)) % 1000000UL);
(uintmax_t)floor(s),
(uintmax_t)floor((s * 1e6)) % 1000000UL);
t_i += buf[4];
}
e = VTIM_mono();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment