summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-01-10 14:23:38 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-01-10 14:23:38 +0000
commit0a59e155560b82db19d22340f2b7389c7afe6f77 (patch)
tree0233d28e7c8222c44fcaf0da20b6792c43cef3c9
parentfe7ed6affe4c28d939a7db7e2e89c194323807a3 (diff)
Drop an unnecessary cast
from jsing
-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