[experimental-ims] f656558 Try to make osx build happier.
Poul-Henning Kamp
phk at FreeBSD.org
Thu Dec 18 10:27:54 CET 2014
commit f656558cc4d0350cd9f8340960d88c90f0e2783e
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Aug 21 09:01:36 2012 +0000
Try to make osx build happier.
And yes, why ptrdiff_t even exists and why it can be different,
semantically or otherwise, from ssize_t is beyond me...
diff --git a/lib/libvcl/vcc_backend.c b/lib/libvcl/vcc_backend.c
index 76ef874..6404a3e 100644
--- a/lib/libvcl/vcc_backend.c
+++ b/lib/libvcl/vcc_backend.c
@@ -708,8 +708,8 @@ vcc_ParseDirector(struct vcc *tl)
ERRCHK(tl);
if (tl->t->e - tl->t->b > 64) {
VSB_printf(tl->sb,
- "Name of %.*s too long (max 64, is %zd):\n",
- PF(t_first), (tl->t->e - tl->t->b));
+ "Name of %.*s too long (max 64, is %zu):\n",
+ PF(t_first), (size_t)(tl->t->e - tl->t->b));
vcc_ErrWhere(tl, tl->t);
return;
}
More information about the varnish-commit
mailing list