[master] 010eef94b Use uint64_t instead of uintptr_t, no pointers are ever stored here..

Poul-Henning Kamp phk at FreeBSD.org
Mon Dec 5 10:34:05 UTC 2022


commit 010eef94bec582f8ba28eb7116ed59ecd187ebe9
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Dec 5 10:32:38 2022 +0000

    Use uint64_t instead of uintptr_t, no pointers are ever stored here..

diff --git a/bin/varnishd/cache/cache.h b/bin/varnishd/cache/cache.h
index 0a3f9e092..f1d107c15 100644
--- a/bin/varnishd/cache/cache.h
+++ b/bin/varnishd/cache/cache.h
@@ -271,7 +271,7 @@ struct worker {
 struct storeobj {
 	const struct stevedore	*stevedore;
 	void			*priv;
-	uintptr_t		priv2;
+	uint64_t		priv2;
 };
 
 /* Busy Objcore structure --------------------------------------------


More information about the varnish-commit mailing list