From 0a59e155560b82db19d22340f2b7389c7afe6f77 Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Wed, 10 Jan 2024 14:23:38 +0000 Subject: Drop an unnecessary cast from jsing --- lib/libcrypto/err/err_prn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libcrypto/err') 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 -- cgit v1.2.3