Fix from HEAD.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 25 Jun 2009 17:12:26 +0000 (17:12 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 25 Jun 2009 17:12:26 +0000 (17:12 +0000)
crypto/bio/bio.h

index c8717fdcfaf957da6cc363e0159e706207064050..86a07ac2726096a2b07dfdf4d6736a2f253cae1e 100644 (file)
@@ -416,7 +416,7 @@ typedef struct bio_f_buffer_ctx_struct
 #define BIO_set_accept_port(b,name) BIO_ctrl(b,BIO_C_SET_ACCEPT,0,(char *)name)
 #define BIO_get_accept_port(b) BIO_ptr_ctrl(b,BIO_C_GET_ACCEPT,0)
 /* #define BIO_set_nbio(b,n)   BIO_ctrl(b,BIO_C_SET_NBIO,(n),NULL) */
-#define BIO_set_nbio_accept(b,n) BIO_ctrl(b,BIO_C_SET_ACCEPT,1,(n)?"a":NULL)
+#define BIO_set_nbio_accept(b,n) BIO_ctrl(b,BIO_C_SET_ACCEPT,1,(n)?(void *)"a":NULL)
 #define BIO_set_accept_bios(b,bio) BIO_ctrl(b,BIO_C_SET_ACCEPT,2,(char *)bio)
 
 #define BIO_BIND_NORMAL                        0