QUIC: fixed clang-ast asserts.

This commit is contained in:
Sergey Kandaurov 2020-10-01 12:09:47 +01:00
parent 154536a64f
commit b64446f6f9
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;