[master] 3862b9d35 Flexelint previous commit

Nils Goroll nils.goroll at uplex.de
Thu Sep 12 13:11:06 UTC 2024


commit 3862b9d3509de8c197ffae64d4ca5b1a84ee17da
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Sep 12 15:10:26 2024 +0200

    Flexelint previous commit

diff --git a/lib/libvarnish/vlu.c b/lib/libvarnish/vlu.c
index c79c65603..c3c15f273 100644
--- a/lib/libvarnish/vlu.c
+++ b/lib/libvarnish/vlu.c
@@ -134,7 +134,7 @@ VLU_Fd(struct vlu *l, int fd)
 		return (-2);
 	if (i < 0)
 		return (-1);
-	assert(i <= sz);
+	assert((size_t)i <= sz);
 	l->bufp += i;
 	return (LineUpProcess(l));
 }


More information about the varnish-commit mailing list