Make state in nghttp2_hd_huff_decode_context int16_t to make compiler happy

This commit is contained in:
Tatsuhiro Tsujikawa 2014-05-26 21:50:54 +09:00
parent 589d3e71a3
commit d733c87567
1 changed files with 1 additions and 1 deletions

View File

@ -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;