forked from osmocom/wireshark
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:
parent
0a0598949a
commit
f45733b7b5
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue