Fix warnings.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 1 Dec 2013 23:08:13 +0000 (23:08 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 1 Dec 2013 23:08:13 +0000 (23:08 +0000)
ssl/ssl.h

index 1b7fa589d6d747691a47c0be8482e2bf3344e823..efd491cb53c265a324afcdee5c4b3736ee73b9df 100644 (file)
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -2011,10 +2011,10 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
        SSL_ctrl(s,SSL_CTRL_GET_SERVER_TMP_KEY,0,pk)
 
 #define SSL_get0_raw_cipherlist(s, plst) \
-       SSL_ctrl(s,SSL_CTRL_GET_RAW_CIPHERLIST,0,plst)
+       SSL_ctrl(s,SSL_CTRL_GET_RAW_CIPHERLIST,0,(char *)plst)
 
 #define SSL_get0_ec_point_formats(s, plst) \
-       SSL_ctrl(s,SSL_CTRL_GET_EC_POINT_FORMATS,0,plst)
+       SSL_ctrl(s,SSL_CTRL_GET_EC_POINT_FORMATS,0,(char *)plst)
 
 #define SSL_set_tlsa_record(s,tlsa) \
        SSL_ctrl(s,SSL_CTRL_SET_TLSA_RECORD,0,(void *)tlsa)