Fix warning 'this decimal constant is unsigned only in ISO C90'
This commit is contained in:
parent
c44587a70c
commit
913b95336b
|
@ -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