From: tb Date: Wed, 10 Jan 2024 14:23:37 +0000 (+0000) Subject: Drop an unnecessary cast X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3631e0d3f5b9f78de8ea92287cfb2a316e4dac9e;p=openbsd Drop an unnecessary cast from jsing --- 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