Mailing List Archive

[master] 9ef2b77c6 Make vtim_test not assert on 32 bit systems.
commit 9ef2b77c66a74e9f05bccff7164fd9add6847163
Author: Poul-Henning Kamp <phk@FreeBSD.org>
Date: Tue Dec 5 08:51:35 2023 +0000

Make vtim_test not assert on 32 bit systems.

diff --git a/lib/libvarnish/vtim.c b/lib/libvarnish/vtim.c
index 8a4aade1a..3918e5eb2 100644
--- a/lib/libvarnish/vtim.c
+++ b/lib/libvarnish/vtim.c
@@ -601,7 +601,6 @@ main(int argc, char **argv)
(void)argv;

AZ(setenv("TZ", "UTC", 1));
- assert(sizeof t >= 8);

bench();

_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit