From d733c8756723ae2260e7ce5488dfa8bcc88a3233 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 26 May 2014 21:50:54 +0900 Subject: [PATCH] Make state in nghttp2_hd_huff_decode_context int16_t to make compiler happy --- lib/nghttp2_hd_huffman.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nghttp2_hd_huffman.h b/lib/nghttp2_hd_huffman.h index ba464017..c0ee6f1d 100644 --- a/lib/nghttp2_hd_huffman.h +++ b/lib/nghttp2_hd_huffman.h @@ -54,7 +54,7 @@ typedef nghttp2_huff_decode huff_decode_table_type[16]; typedef struct { /* Current huffman decoding state. We stripped leaf nodes, so the value range is [0..255], inclusive. */ - uint8_t state; + int16_t state; /* nonzero if we can say that the decoding process succeeds at this state */ uint8_t accept;