mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Fix argument type from unsigned to enum (MSVC complains)
This commit is contained in:
parent
343dbf061b
commit
4d73eaf3ac
1 changed files with 2 additions and 2 deletions
|
@ -1164,7 +1164,7 @@ process_stream_frame (struct full_conn *conn, lsquic_packet_in_t *packet_in,
|
|||
{
|
||||
if (!(conn->fc_flags & FC_ABORT_COMPLAINED))
|
||||
{
|
||||
enum stream_count counts[N_SCNTS];
|
||||
unsigned counts[N_SCNTS];
|
||||
collect_stream_counts(conn, 1, counts);
|
||||
ABORT_WARN("incoming stream would exceed limit: %u. "
|
||||
"all: %u; peer: %u; closed: %u; reset: %u; reset "
|
||||
|
@ -3134,7 +3134,7 @@ find_stream_on_non_stream_frame (struct full_conn *conn, uint32_t stream_id,
|
|||
{
|
||||
if (!(conn->fc_flags & FC_ABORT_COMPLAINED))
|
||||
{
|
||||
enum stream_count counts[N_SCNTS];
|
||||
unsigned counts[N_SCNTS];
|
||||
collect_stream_counts(conn, 1, counts);
|
||||
ABORT_WARN("incoming %s for stream %u would exceed "
|
||||
"limit: %u. all: %u; peer: %u; closed: %u; reset: %u; reset "
|
||||
|
|
Loading…
Reference in a new issue