From: William A. Rowe Jr Date: Wed, 5 Sep 2007 23:19:51 +0000 (+0000) Subject: Kill the compiler emit - casting struct * to char * (as defined X-Git-Tag: 2.3.0~1454 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b2042993ee7ed8399346192b2ac66b31354d905;p=thirdparty%2Fapache%2Fhttpd.git Kill the compiler emit - casting struct * to char * (as defined in openssl 0.9.8e). Easiest is to cast through void *. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@573101 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/ab.c b/support/ab.c index 3e102950961..58299a3db20 100644 --- a/support/ab.c +++ b/support/ab.c @@ -1178,7 +1178,7 @@ static void start_connect(struct connection * c) SSL_set_connect_state(c->ssl); if (verbosity >= 4) { BIO_set_callback(bio, ssl_print_cb); - BIO_set_callback_arg(bio, bio_err); + BIO_set_callback_arg(bio, (void *)bio_err); } } else { c->ssl = NULL;