[master] 6400876 64 bit fix

Poul-Henning Kamp phk at varnish-cache.org
Mon Apr 18 12:39:32 CEST 2011


commit 640087625620b9d3520376aff920364c8f35d4fc
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Apr 18 10:12:09 2011 +0000

    64 bit fix

diff --git a/bin/varnishd/cache_response.c b/bin/varnishd/cache_response.c
index 2fbf120..fb5e752 100644
--- a/bin/varnishd/cache_response.c
+++ b/bin/varnishd/cache_response.c
@@ -279,9 +279,9 @@ res_WriteGunzipObj(struct sess *sp)
 /*--------------------------------------------------------------------*/
 
 static void
-res_WriteDirObj(struct sess *sp, size_t low, size_t high)
+res_WriteDirObj(struct sess *sp, ssize_t low, ssize_t high)
 {
-	unsigned u = 0;
+	ssize_t u = 0;
 	size_t ptr, off, len;
 	struct storage *st;
 



More information about the varnish-commit mailing list