[master] 5843b6bd8 polish previous
Nils Goroll
nils.goroll at uplex.de
Tue Nov 25 12:29:04 UTC 2025
commit 5843b6bd8be92d626a4fc88d72d20097f555b238
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Tue Nov 25 13:27:37 2025 +0100
polish previous
format specifies type 'uintmax_t' (aka 'unsigned long') but the argument
has type 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat]
diff --git a/bin/varnishd/cache/cache_backend.c b/bin/varnishd/cache/cache_backend.c
index 4af19052b..fa768c1be 100644
--- a/bin/varnishd/cache/cache_backend.c
+++ b/bin/varnishd/cache/cache_backend.c
@@ -341,7 +341,7 @@ vbe_dir_getfd(VRT_CTX, struct worker *wrk, VCL_BACKEND dir, struct backend *bp,
VSLb(bo->vsl, SLT_BackendOpen,
"%d %s %s %s %s %s reuse %.6f %ju", *fdp,
VRT_BACKEND_string(dir), abuf2, pbuf2, abuf1, pbuf1,
- PFD_Age(pfd), PFD_Reused(pfd));
+ PFD_Age(pfd), (uintmax_t)PFD_Reused(pfd));
}
INIT_OBJ(bo->htc, HTTP_CONN_MAGIC);
More information about the varnish-commit
mailing list