[master] 892c92a Make refcount signed.

Poul-Henning Kamp phk at varnish-cache.org
Mon Feb 13 22:29:13 CET 2012


commit 892c92ab7fb0fe7afe69ef96ed0eda063ec2ce90
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Feb 13 21:29:03 2012 +0000

    Make refcount signed.

diff --git a/bin/varnishd/cache/cache.h b/bin/varnishd/cache/cache.h
index 9a31cb4..0ff57c9 100644
--- a/bin/varnishd/cache/cache.h
+++ b/bin/varnishd/cache/cache.h
@@ -364,7 +364,7 @@ struct objcore_methods {
 struct objcore {
 	unsigned		magic;
 #define OBJCORE_MAGIC		0x4d301302
-	unsigned		refcnt;
+	int			refcnt;
 	struct objcore_methods	*methods;
 	void			*priv;
 	unsigned		priv2;



More information about the varnish-commit mailing list