[experimental-ims] 892c92a Make refcount signed.

Geoff Simmons geoff at varnish-cache.org
Tue Feb 14 17:49:34 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