aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-02-12 11:31:18 +0000
committerTomas Mraz <tomas@openssl.org>2024-02-19 10:15:46 +0100
commit8c09d69883120d2a9fbe3fadf5f198b77fe901e3 (patch)
tree89a8b2893954aa90fa97a5326917f6a7ef6cab4e
parent5fd1f46fb054ef583e070dd15d1b76e0f0fc910b (diff)
downloadopenssl-8c09d69883120d2a9fbe3fadf5f198b77fe901e3.tar.gz
Fix warning
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23535)
-rw-r--r--ssl/quic/quic_impl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c
index 76cd4d13cf..4f552ca6b2 100644
--- a/ssl/quic/quic_impl.c
+++ b/ssl/quic/quic_impl.c
@@ -3356,9 +3356,9 @@ static int qc_getset_event_handling(QCTX *ctx, uint32_t class_,
value_out = *p_value_in;
if (ctx->is_stream)
- ctx->xso->event_handling_mode = value_out;
+ ctx->xso->event_handling_mode = (int)value_out;
else
- ctx->qc->event_handling_mode = value_out;
+ ctx->qc->event_handling_mode = (int)value_out;
} else {
value_out = ctx->is_stream
? ctx->xso->event_handling_mode