]> granicus.if.org Git - apache/commitdiff
Kill the compiler emit - casting struct * to char * (as defined
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 5 Sep 2007 23:19:51 +0000 (23:19 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 5 Sep 2007 23:19:51 +0000 (23:19 +0000)
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

support/ab.c

index 3e1029509613c7347516b491b6fc3af87ff3aa61..58299a3db208f9873d6d61ca57a077562ec18f99 100644 (file)
@@ -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;