[master] 2e1f2a9 Nitpicking

Poul-Henning Kamp phk at FreeBSD.org
Wed Jun 25 22:29:20 CEST 2014


commit 2e1f2a9671b4238ff14e5132c818e3e00581f5d3
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Jun 25 10:22:21 2014 +0000

    Nitpicking

diff --git a/bin/varnishd/cache/cache_http.c b/bin/varnishd/cache/cache_http.c
index 2fc70be..ec1afae 100644
--- a/bin/varnishd/cache/cache_http.c
+++ b/bin/varnishd/cache/cache_http.c
@@ -639,7 +639,7 @@ http_EstimateWS(const struct http *fm, unsigned how, uint16_t *nhd)
 			continue;
 #include "tbl/http_headers.h"
 #undef HTTPH
-		l += PRNDUP(Tlen(fm->hd[u]) + 1);
+		l += PRNDUP(Tlen(fm->hd[u]) + 1L);
 		(*nhd)++;
 		// fm->hdf[u] |= HDF_COPY;
 	}



More information about the varnish-commit mailing list