NGHTTP2: Fix warning this decimal constant is unsigned only in ISO C90

Backport patch from 1.3.4 (Available soon)

Change-Id: I32565835a3be78a9eeea2cf4f4d7d4825de9aa40
Signed-off-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-on: https://code.wireshark.org/review/10638
This commit is contained in:
Tatsuhiro Tsujikawa 2015-09-24 17:12:12 +02:00 committed by Alexis La Goutte
parent 0a0598949a
commit f45733b7b5
1 changed files with 1 additions and 1 deletions

View File

@ -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) {