[master] 8caf560c5 Consistently use ssize_t (spotted by FlexeLint)

Poul-Henning Kamp phk at FreeBSD.org
Mon Aug 30 10:27:05 UTC 2021


commit 8caf560c59625756890c41c2f0b34a36890c26d1
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Aug 30 10:24:28 2021 +0000

    Consistently use ssize_t (spotted by FlexeLint)

diff --git a/bin/varnishd/storage/storage_simple.c b/bin/varnishd/storage/storage_simple.c
index bf7fc37b7..bcf00c75b 100644
--- a/bin/varnishd/storage/storage_simple.c
+++ b/bin/varnishd/storage/storage_simple.c
@@ -51,7 +51,7 @@ objallocwithnuke(struct worker *, const struct stevedore *, ssize_t size,
     int flags);
 
 static struct storage *
-sml_stv_alloc(const struct stevedore *stv, size_t size, int flags)
+sml_stv_alloc(const struct stevedore *stv, ssize_t size, int flags)
 {
 	struct storage *st;
 


More information about the varnish-commit mailing list