[master] 75c7cb291 Change data array definition to use VSL_WORDS
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Thu Jul 6 15:17:13 UTC 2023
commit 75c7cb291ab32b34a26ba138c76d2be45e028cb6
Author: Darryl Rodden <darryl.rodden at varnish-software.com>
Date: Tue Mar 7 10:16:41 2023 -0700
Change data array definition to use VSL_WORDS
diff --git a/lib/libvarnishapi/vsl_dispatch.c b/lib/libvarnishapi/vsl_dispatch.c
index a28bc70b1..14d3dc20d 100644
--- a/lib/libvarnishapi/vsl_dispatch.c
+++ b/lib/libvarnishapi/vsl_dispatch.c
@@ -93,7 +93,7 @@ struct synth {
VTAILQ_ENTRY(synth) list;
size_t offset;
- uint32_t data[VSL_OVERHEAD + 64 / sizeof (uint32_t)];
+ uint32_t data[VSL_OVERHEAD + VSL_WORDS(64)];
};
VTAILQ_HEAD(synthhead, synth);
More information about the varnish-commit
mailing list