summaryrefslogtreecommitdiff
path: root/lib/libcrypto/err/err_prn.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/err/err_prn.c')
-rw-r--r--lib/libcrypto/err/err_prn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/err/err_prn.c b/lib/libcrypto/err/err_prn.c
index 16d8862a822..61f4dad5749 100644
--- a/lib/libcrypto/err/err_prn.c
+++ b/lib/libcrypto/err/err_prn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: err_prn.c,v 1.21 2024/01/10 14:22:53 tb Exp $ */
+/* $OpenBSD: err_prn.c,v 1.22 2024/01/10 14:23:37 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -109,7 +109,7 @@ LCRYPTO_ALIAS(ERR_print_errors_fp);
static int
print_bio(const char *str, size_t len, void *bp)
{
- return BIO_write((BIO *)bp, str, len);
+ return BIO_write(bp, str, len);
}
void