Make state in nghttp2_hd_huff_decode_context int16_t to make compiler happy
This commit is contained in:
parent
589d3e71a3
commit
d733c87567
|
@ -54,7 +54,7 @@ typedef nghttp2_huff_decode huff_decode_table_type[16];
|
||||||
typedef struct {
|
typedef struct {
|
||||||
/* Current huffman decoding state. We stripped leaf nodes, so the
|
/* Current huffman decoding state. We stripped leaf nodes, so the
|
||||||
value range is [0..255], inclusive. */
|
value range is [0..255], inclusive. */
|
||||||
uint8_t state;
|
int16_t state;
|
||||||
/* nonzero if we can say that the decoding process succeeds at this
|
/* nonzero if we can say that the decoding process succeeds at this
|
||||||
state */
|
state */
|
||||||
uint8_t accept;
|
uint8_t accept;
|
||||||
|
|
Loading…
Reference in New Issue