diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2020-10-01 12:09:47 +0100 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2020-10-01 12:09:47 +0100 |
commit | b64446f6f9e1b91e6d805cc56a72c1ad8e42a049 (patch) | |
tree | db3f2c9a19c9ef9fef24ed77e271fb7c5cb9b26e /src | |
parent | 154536a64fd7b6bc567e976bde0b6edd00c3cd65 (diff) | |
download | nginx-b64446f6f9e1b91e6d805cc56a72c1ad8e42a049.tar.gz nginx-b64446f6f9e1b91e6d805cc56a72c1ad8e42a049.zip |
QUIC: fixed clang-ast asserts.
Diffstat (limited to 'src')
-rw-r--r-- | src/event/ngx_event_quic.c | 2 | ||||
-rw-r--r-- | src/event/ngx_event_quic_protection.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/event/ngx_event_quic.c b/src/event/ngx_event_quic.c index 61e46a471..82bb8902d 100644 --- a/src/event/ngx_event_quic.c +++ b/src/event/ngx_event_quic.c @@ -1237,7 +1237,7 @@ ngx_quic_init_connection(ngx_connection_t *c) } 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 --git a/src/event/ngx_event_quic_protection.c b/src/event/ngx_event_quic_protection.c index b77d65971..0bb9e8f87 100644 --- a/src/event/ngx_event_quic_protection.c +++ b/src/event/ngx_event_quic_protection.c @@ -972,7 +972,7 @@ ngx_quic_new_sr_token(ngx_connection_t *c, ngx_str_t *cid, ngx_str_t *secret, #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; |