]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
hust compiler warning
authorKen Rice <krice@freeswitch.org>
Mon, 1 Apr 2013 22:12:04 +0000 (17:12 -0500)
committerKen Rice <krice@freeswitch.org>
Mon, 1 Apr 2013 22:24:52 +0000 (17:24 -0500)
libs/sofia-sip/libsofia-sip-ua/tport/tport_type_ws.c

index 616937d7e762ee83756c0b86a4e65d13fd1e0281..316d709fa76ea43780481ef8f8b1a1096e158e1f 100644 (file)
@@ -373,7 +373,7 @@ static int tport_ws_init_primary_secure(tport_primary_t *pri,
   //  OpenSSL_add_all_algorithms();   /* load & register cryptos */                                                                                       
   //  SSL_load_error_strings();     /* load all error messages */                                                                                         
   wspri->ssl_method = SSLv23_server_method();   /* create server instance */
-  wspri->ssl_ctx = SSL_CTX_new(wspri->ssl_method);         /* create context */
+  wspri->ssl_ctx = SSL_CTX_new((SSL_METHOD *)wspri->ssl_method);         /* create context */
   SSL_CTX_sess_set_remove_cb(wspri->ssl_ctx, NULL);
   wspri->ws_secure = 1;