# HG changeset patch # User Sergey Kandaurov # Date 1601550587 -3600 # Node ID 0e12c4aca3ab1304ea88841b1d82786c33ef7d48 # Parent b52b2a33b0e5d4546f023546b54a11bbd6c8ddf1 QUIC: fixed clang-ast asserts. diff -r b52b2a33b0e5 -r 0e12c4aca3ab src/event/ngx_event_quic.c --- a/src/event/ngx_event_quic.c Thu Oct 01 12:00:12 2020 +0100 +++ b/src/event/ngx_event_quic.c Thu Oct 01 12:09:47 2020 +0100 @@ -1237,7 +1237,7 @@ } ngx_quic_hexdump(c->log, "quic stateless reset token", - qc->tp.sr_token, NGX_QUIC_SR_TOKEN_LEN); + qc->tp.sr_token, (size_t) NGX_QUIC_SR_TOKEN_LEN); } len = ngx_quic_create_transport_params(NULL, NULL, &qc->tp, &clen); diff -r b52b2a33b0e5 -r 0e12c4aca3ab src/event/ngx_event_quic_protection.c --- a/src/event/ngx_event_quic_protection.c Thu Oct 01 12:00:12 2020 +0100 +++ b/src/event/ngx_event_quic_protection.c Thu Oct 01 12:09:47 2020 +0100 @@ -972,7 +972,7 @@ #if (NGX_DEBUG) ngx_quic_hexdump(c->log, "quic stateless reset token", token, - NGX_QUIC_SR_TOKEN_LEN); + (size_t) NGX_QUIC_SR_TOKEN_LEN); #endif return NGX_OK;