# HG changeset patch # User Sergey Kandaurov # Date 1669125936 -14400 # Node ID e23fd55e1cc6c3250a2c05fc3e699d70a8ce47bc # Parent 8c0bccdf27435c97dfca10bcd501417ea31c73df QUIC: fixed C4389 MSVC warning about signed/unsigned mismatch. diff --git a/src/event/quic/ngx_event_quic_protection.c b/src/event/quic/ngx_event_quic_protection.c --- a/src/event/quic/ngx_event_quic_protection.c +++ b/src/event/quic/ngx_event_quic_protection.c @@ -988,8 +988,9 @@ ngx_quic_decrypt(ngx_quic_header_t *pkt, 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];