Fix warning 'this decimal constant is unsigned only in ISO C90'

This commit is contained in:
Tatsuhiro Tsujikawa 2015-09-25 00:03:38 +09:00
parent c44587a70c
commit 913b95336b
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) {