Mercurial > hg > nginx
changeset 8565:0e12c4aca3ab quic
QUIC: fixed clang-ast asserts.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 01 Oct 2020 12:09:47 +0100 |
parents | b52b2a33b0e5 |
children | 9588a2782c62 |
files | src/event/ngx_event_quic.c src/event/ngx_event_quic_protection.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);
--- 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;