[master] 4502690 Emit ULL constants for unsigned long long type.
Poul-Henning Kamp
phk at FreeBSD.org
Tue Nov 24 11:57:24 CET 2015
commit 45026902977e25cb919aad168dc326bcea558f23
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Nov 24 10:50:05 2015 +0000
Emit ULL constants for unsigned long long type.
diff --git a/lib/libvcc/vcc_utils.c b/lib/libvcc/vcc_utils.c
index 6b56959..40f0f86 100644
--- a/lib/libvcc/vcc_utils.c
+++ b/lib/libvcc/vcc_utils.c
@@ -118,7 +118,7 @@ vcc_suckaddr(struct vcc *tl, const char *host, const struct suckaddr *vsa,
Fh(tl, 0, " suckaddr_%u[%d] = {\n", tl->unique, n);
memcpy(b, vsa, vsa_suckaddr_len);
for (len = 0; len < n; len++)
- Fh(tl, 0, "%s 0x%0*llxLL",
+ Fh(tl, 0, "%s 0x%0*llxULL",
len ? ",\n" : "", sz * 2, b[len]);
Fh(tl, 0, "\n};\n");
More information about the varnish-commit
mailing list