mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Release 2.11.1: fix clang compilation
This commit is contained in:
parent
bc520ef752
commit
abc972dafe
4 changed files with 7 additions and 3 deletions
|
@ -202,7 +202,11 @@ lsquic_tp_encode (const struct transport_params *params, int is_server,
|
|||
= vint_val2bits(enum_2_tpi_val[TPI_ORIGINAL_CONNECTION_ID]);
|
||||
#if __GNUC__
|
||||
#pragma GCC diagnostic ignored "-Wunknown-pragmas"
|
||||
#if __clang__
|
||||
#pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare"
|
||||
#else
|
||||
#pragma GCC diagnostic ignored "-Wtype-limits"
|
||||
#endif
|
||||
#endif
|
||||
bits[TPI_ORIGINAL_CONNECTION_ID][1]
|
||||
= vint_val2bits(params->tp_original_cid.len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue