[master] 5e49114 Flexelinting

Poul-Henning Kamp phk at FreeBSD.org
Tue Jan 16 09:48:07 UTC 2018


commit 5e49114dab05220dc00033ac0d8e6f0c46bb1d3f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Jan 16 09:02:16 2018 +0000

    Flexelinting

diff --git a/lib/libvarnishapi/vsm.c b/lib/libvarnishapi/vsm.c
index cb8118b..be15a14 100644
--- a/lib/libvarnishapi/vsm.c
+++ b/lib/libvarnishapi/vsm.c
@@ -734,7 +734,7 @@ VSM_Map(struct vsm *vd, struct vsm_fantom *vf)
 	vg->s = (void*)mmap(NULL, len,
 	    PROT_READ,
 	    MAP_HASSEMAPHORE | MAP_NOSYNC | MAP_SHARED,
-	    fd, off);
+	    fd, (off_t)off);
 
 	VSB_destroy(&vsb);
 


More information about the varnish-commit mailing list