From 4430b06c7102ed07566708ff0f91dcfa7ceded98 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 22 Feb 2015 17:43:14 +0900 Subject: [PATCH] Add parentheses around macro parameters --- lib/nghttp2_hd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nghttp2_hd.c b/lib/nghttp2_hd.c index 6e5662be..d8a17eeb 100644 --- a/lib/nghttp2_hd.c +++ b/lib/nghttp2_hd.c @@ -37,8 +37,8 @@ #define MAKE_STATIC_ENT(I, N, V, NH, VH) \ { \ { \ - { (uint8_t *) N, (uint8_t *)V, sizeof(N) - 1, sizeof(V) - 1, 0 } \ - , NH, VH, 1, NGHTTP2_HD_FLAG_NONE \ + { (uint8_t *)(N), (uint8_t *)(V), sizeof((N)) - 1, sizeof((V)) - 1, 0 } \ + , (NH), (VH), 1, NGHTTP2_HD_FLAG_NONE \ } \ , I \ }