aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/event/ngx_event_quic.c2
-rw-r--r--src/event/ngx_event_quic_protection.c2
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;