From 704f362804a37da41c4e53cdd3d7b7a7abf9fb87 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 6 May 2014 18:49:24 +0900 Subject: [PATCH] nghttp2.h: Use hex style flag definition --- lib/includes/nghttp2/nghttp2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/includes/nghttp2/nghttp2.h b/lib/includes/nghttp2/nghttp2.h index 2c52000a..d1bf4634 100644 --- a/lib/includes/nghttp2/nghttp2.h +++ b/lib/includes/nghttp2/nghttp2.h @@ -362,7 +362,7 @@ typedef enum { /** * Indicates that this name/value pair must not be indexed. */ - NGHTTP2_NV_FLAG_NO_INDEX = 0x1 + NGHTTP2_NV_FLAG_NO_INDEX = 0x01 } nghttp2_nv_flag; /** @@ -2921,11 +2921,11 @@ typedef enum { /** * Indicates all headers were inflated. */ - NGHTTP2_HD_INFLATE_FINAL = 1, + NGHTTP2_HD_INFLATE_FINAL = 0x01, /** * Indicates a header was emitted. */ - NGHTTP2_HD_INFLATE_EMIT = (1 << 1) + NGHTTP2_HD_INFLATE_EMIT = 0x02 } nghttp2_hd_inflate_flag; /**