[PATCH 1/2] secur32: Avoid compiler warning.

Gijs Vermeulen gijsvrm at codeweavers.com
Fri Dec 6 04:42:33 CST 2019


Signed-off-by: Gijs Vermeulen <gijsvrm at codeweavers.com>
---
 dlls/secur32/schannel_macosx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/secur32/schannel_macosx.c b/dlls/secur32/schannel_macosx.c
index 050e8c5cce..d06267773a 100644
--- a/dlls/secur32/schannel_macosx.c
+++ b/dlls/secur32/schannel_macosx.c
@@ -1202,7 +1202,7 @@ BOOL schan_imp_init(void)
     supported_protocols = SP_PROT_SSL2_CLIENT | SP_PROT_SSL3_CLIENT | SP_PROT_TLS1_0_CLIENT;
 
 #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1080
-    if(SSLGetProtocolVersionMax != NULL) {
+    if(&SSLGetProtocolVersionMax != NULL) {
         SSLProtocol max_protocol;
         SSLContextRef ctx;
         OSStatus status;
-- 
2.24.0




More information about the wine-devel mailing list