Commit c87631c2 authored by Alexis La Goutte's avatar Alexis La Goutte

Fix other shorten-64-to-32 casting error found by MSVC (64bits)

Thanks to Pascal
parent 0069ca9c
...@@ -43,7 +43,7 @@ extern const nghttp2_huff_decode huff_decode_table[][16]; ...@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment