[master] 3ba772c44 vmod_debug: Fix format specifier

Nils Goroll nils.goroll at uplex.de
Fri Jul 4 17:37:05 UTC 2025


commit 3ba772c4441c7a9075f02aec28787204546e9a9d
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Fri Jul 4 19:36:13 2025 +0200

    vmod_debug: Fix format specifier

diff --git a/vmod/vmod_debug_transport_vai.c b/vmod/vmod_debug_transport_vai.c
index 0dfd32a06..6578940ba 100644
--- a/vmod/vmod_debug_transport_vai.c
+++ b/vmod/vmod_debug_transport_vai.c
@@ -58,7 +58,7 @@ vdpio_hello_init(VRT_CTX, struct vdp_ctx *vdc, void **priv, int capacity)
 
 	*vdc->clen += strlen(HELLO);
 	http_Unset(vdc->hp, H_Content_Length);
-	http_PrintfHeader(vdc->hp, "Content-Length: %zd", *vdc->clen);
+	http_PrintfHeader(vdc->hp, "Content-Length: %jd", *vdc->clen);
 	return (capacity);
 }
 


More information about the varnish-commit mailing list