Fix compile error with gcc
This commit is contained in:
parent
061a557839
commit
837e716306
|
@ -70,5 +70,6 @@ void nghttp2_option_set_user_recv_extension_type(nghttp2_option *option,
|
||||||
}
|
}
|
||||||
|
|
||||||
option->opt_set_mask |= NGHTTP2_OPT_USER_RECV_EXT_TYPES;
|
option->opt_set_mask |= NGHTTP2_OPT_USER_RECV_EXT_TYPES;
|
||||||
option->user_recv_ext_types[type / 8] |= 1 << (7 - (type & 0x7));
|
option->user_recv_ext_types[type / 8] = (uint8_t)(
|
||||||
|
option->user_recv_ext_types[type / 8] | (1 << (7 - (type & 0x7))));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue