Commit a3a5d2f6 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Cast %ju argument to uintmax_t

Closes: #3570
parent cb36d6aa
......@@ -245,7 +245,8 @@ xyzzy_time_acl(VRT_CTX, VCL_ACL acl, VCL_IP ip0, VCL_IP ip1,
}
t1 = VTIM_mono();
VSLb(ctx->vsl, SLT_Debug,
"Timed ACL: %.9f -> %.9f = %.9f %.9f/round, %.9f/IP %jd IPs",
t0, t1, t1 - t0, (t1-t0) / turnus, (t1-t0) / asw->count, asw->count);
"Timed ACL: %.9f -> %.9f = %.9f %.9f/round, %.9f/IP %ju IPs",
t0, t1, t1 - t0, (t1-t0) / turnus, (t1-t0) / asw->count,
(uintmax_t)asw->count);
return ((t1 - t0) / asw->count);
}
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