Gijs Vermeulen : secur32: Avoid compiler warning.

Alexandre Julliard julliard at winehq.org
Fri Dec 6 16:06:38 CST 2019


Module: wine
Branch: master
Commit: fa38f34b0f156d4ddb006e6df6b52c060175ee23
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=fa38f34b0f156d4ddb006e6df6b52c060175ee23

Author: Gijs Vermeulen <gijsvrm at codeweavers.com>
Date:   Fri Dec  6 11:42:33 2019 +0100

secur32: Avoid compiler warning.

Signed-off-by: Gijs Vermeulen <gijsvrm at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;




More information about the wine-cvs mailing list