diff options
author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-09-24 17:12:12 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-09-24 15:14:34 +0000 |
commit | f45733b7b51f8035cb44f5325c0e2b3d7112dbfa (patch) | |
tree | 403ce1e9e99d5636b94ccb9644a2f1d90cf5386b /epan/nghttp2 | |
parent | 0a0598949a88cf3342c3cb6360e6f74eeb74e08a (diff) | |
download | wireshark-f45733b7b51f8035cb44f5325c0e2b3d7112dbfa.tar.gz |
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
Diffstat (limited to 'epan/nghttp2')
-rw-r--r-- | epan/nghttp2/nghttp2_hd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/nghttp2/nghttp2_hd.c b/epan/nghttp2/nghttp2_hd.c index d08e5c411c..69239829e8 100644 --- a/epan/nghttp2/nghttp2_hd.c +++ b/epan/nghttp2/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) { |