Fix other shorten-64-to-32 casting error found by MSVC (64bits)
Thanks to Pascal
This commit is contained in:
parent
0069ca9ce8
commit
c87631c2e6
|
@ -43,7 +43,7 @@ extern const nghttp2_huff_decode huff_decode_table[][16];
|
||||||
static ssize_t huff_encode_sym(nghttp2_bufs *bufs, size_t *avail_ptr,
|
static ssize_t huff_encode_sym(nghttp2_bufs *bufs, size_t *avail_ptr,
|
||||||
size_t rembits, const nghttp2_huff_sym *sym) {
|
size_t rembits, const nghttp2_huff_sym *sym) {
|
||||||
int rv;
|
int rv;
|
||||||
uint32_t nbits = sym->nbits;
|
size_t nbits = sym->nbits;
|
||||||
uint32_t code = sym->code;
|
uint32_t code = sym->code;
|
||||||
|
|
||||||
/* We assume that sym->nbits <= 32 */
|
/* We assume that sym->nbits <= 32 */
|
||||||
|
|
Loading…
Reference in New Issue