From: Hugo Landau Date: Mon, 12 Feb 2024 11:31:18 +0000 (+0000) Subject: Fix warning X-Git-Tag: openssl-3.3.0-alpha1~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c09d69883120d2a9fbe3fadf5f198b77fe901e3;p=thirdparty%2Fopenssl.git Fix warning Reviewed-by: Matt Caswell Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/23535) --- diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index 76cd4d13cfe..4f552ca6b2a 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