From eb6dfab88966f07f5655fbb839301d4759851da2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Thu, 16 Sep 2021 11:04:49 +0200 Subject: [PATCH] MINOR: quic: Add a typedef for unsigned long long As we manipulate very uint64_t variables which must be cast to unsigned long long to be printed, let's add this useful type definition. --- include/haproxy/xprt_quic-t.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/haproxy/xprt_quic-t.h b/include/haproxy/xprt_quic-t.h index df0125e90..1bbae968d 100644 --- a/include/haproxy/xprt_quic-t.h +++ b/include/haproxy/xprt_quic-t.h @@ -41,6 +41,8 @@ #include #include +typedef unsigned long long ull; + #define QUIC_PROTOCOL_VERSION_DRAFT_28 0xff00001c /* draft-28 */ #define QUIC_PROTOCOL_VERSION_DRAFT_29 0xff00001d /* draft-29 */ #define QUIC_PROTOCOL_VERSION_1 0x00000001 /* V1 */