QUIC: fixed C4389 MSVC warning about signed/unsigned mismatch.

This commit is contained in:
Sergey Kandaurov 2022-11-22 18:05:36 +04:00
parent 41a5fad87b
commit 690e72d8b6
1 changed files with 2 additions and 1 deletions

View File

@ -988,8 +988,9 @@ ngx_quic_decrypt(ngx_quic_header_t *pkt, uint64_t *largest_pn)
u_char *p, *sample;
size_t len;
uint64_t pn, lpn;
ngx_int_t pnl, rc, key_phase;
ngx_int_t pnl, rc;
ngx_str_t in, ad;
ngx_uint_t key_phase;
ngx_quic_secret_t *secret;
ngx_quic_ciphers_t ciphers;
uint8_t nonce[NGX_QUIC_IV_LEN], mask[NGX_QUIC_HP_LEN];