[master] 9ef2b77c6 Make vtim_test not assert on 32 bit systems.

Poul-Henning Kamp phk at FreeBSD.org
Tue Dec 5 08:52:06 UTC 2023


commit 9ef2b77c66a74e9f05bccff7164fd9add6847163
Author: Poul-Henning Kamp <phk at 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();
 


More information about the varnish-commit mailing list