From 3631e0d3f5b9f78de8ea92287cfb2a316e4dac9e Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 10 Jan 2024 14:23:37 +0000 Subject: [PATCH] Drop an unnecessary cast from jsing --- lib/libcrypto/err/err_prn.c | 4 ++-- 1 file 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 -- 2.20.1