[master] da72728 Nail size of VCL_INT and VCL_BYTES at 64 bits.

Poul-Henning Kamp phk at FreeBSD.org
Tue Mar 6 10:12:07 UTC 2018


commit da727285da6d62e70dd2038dcf6c79d91bba7564
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Mar 6 10:10:39 2018 +0000

    Nail size of VCL_INT and VCL_BYTES at 64 bits.

diff --git a/include/vrt.h b/include/vrt.h
index 603d24f..7b538cb 100644
--- a/include/vrt.h
+++ b/include/vrt.h
@@ -136,13 +136,13 @@ typedef const struct director *			VCL_BACKEND;
 typedef const struct vmod_priv *		VCL_BLOB;
 typedef const char *				VCL_BODY;
 typedef unsigned				VCL_BOOL;
-typedef long long				VCL_BYTES;
+typedef int64_t					VCL_BYTES;
 typedef double					VCL_DURATION;
 typedef const char *				VCL_ENUM;
 typedef const struct gethdr_s *			VCL_HEADER;
 typedef struct http *				VCL_HTTP;
 typedef void					VCL_INSTANCE;
-typedef long					VCL_INT;
+typedef int64_t					VCL_INT;
 typedef const struct suckaddr *			VCL_IP;
 typedef const struct vrt_backend_probe *	VCL_PROBE;
 typedef double					VCL_REAL;


More information about the varnish-commit mailing list