aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-08-30 17:00:16 +0100
committerHugo Landau <hlandau@openssl.org>2023-09-01 10:45:36 +0100
commit8d7f034622c0235d06f4d6526f71dcab2f71b0c6 (patch)
tree4afbf9655b468b1bb01f0a81e2e71da134705cd7 /crypto
parentabeb41b42fa3cdca99d3f3fef48ea6ee04023d68 (diff)
downloadopenssl-8d7f034622c0235d06f4d6526f71dcab2f71b0c6.tar.gz
Minor fixes
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21715)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/bio/bss_dgram_pair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/bss_dgram_pair.c b/crypto/bio/bss_dgram_pair.c
index a93b14154c..3d79878336 100644
--- a/crypto/bio/bss_dgram_pair.c
+++ b/crypto/bio/bss_dgram_pair.c
@@ -695,7 +695,7 @@ static long dgram_mem_ctrl(BIO *bio, int cmd, long num, void *ptr)
/* BIO_dgram_get_local_addr_enable */
case BIO_CTRL_DGRAM_GET_LOCAL_ADDR_ENABLE: /* Non-threadsafe */
- *(int *)ptr = (long)dgram_pair_ctrl_get_local_addr_enable(bio);
+ *(int *)ptr = (int)dgram_pair_ctrl_get_local_addr_enable(bio);
break;
/* BIO_dgram_set_local_addr_enable */