]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Add a typedef for unsigned long long
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 16 Sep 2021 09:04:49 +0000 (11:04 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
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

index df0125e908ce2d270819d177821fe31ce496be21..1bbae968da25cd1e2cfde7b0cb9a0f690b295fd4 100644 (file)
@@ -41,6 +41,8 @@
 #include <import/eb64tree.h>
 #include <import/ebmbtree.h>
 
+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 */