From 913b95336b8be9356ff754c77d788445b4816f76 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 25 Sep 2015 00:03:38 +0900 Subject: [PATCH] Fix warning 'this decimal constant is unsigned only in ISO C90' --- lib/nghttp2_hd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nghttp2_hd.c b/lib/nghttp2_hd.c index ea9a1d77..45e96407 100644 --- a/lib/nghttp2_hd.c +++ b/lib/nghttp2_hd.c @@ -574,7 +574,7 @@ static int value_eq(const nghttp2_nv *a, const nghttp2_nv *b) { static uint32_t name_hash(const nghttp2_nv *nv) { /* 32 bit FNV-1a: http://isthe.com/chongo/tech/comp/fnv/ */ - uint32_t h = 2166136261; + uint32_t h = 2166136261u; size_t i; for (i = 0; i < nv->namelen; ++i) {