[master] c42570327 VCL_BYTES, not VCL_INT.

Poul-Henning Kamp phk at FreeBSD.org
Mon May 31 22:12:09 UTC 2021


commit c42570327f1e4f746715179d20ad17e032647436
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon May 31 22:10:48 2021 +0000

    VCL_BYTES, not VCL_INT.
    
    Spotted by: @dridi

diff --git a/bin/varnishd/storage/storage_umem.c b/bin/varnishd/storage/storage_umem.c
index 3da22a35e..d4fc52a0d 100644
--- a/bin/varnishd/storage/storage_umem.c
+++ b/bin/varnishd/storage/storage_umem.c
@@ -58,8 +58,8 @@ struct smu_sc {
 	unsigned		magic;
 #define SMU_SC_MAGIC		0x7695f68e
 	struct lock		smu_mtx;
-	VCL_INT			smu_max;
-	VCL_INT			smu_alloc;
+	VCL_BYTES		smu_max;
+	VCL_BYTES		smu_alloc;
 	struct VSC_smu		*stats;
 	umem_cache_t		*smu_cache;
 };


More information about the varnish-commit mailing list