Fix mingw warnings.
[openssl.git] / crypto / dso / dso_win32.c
index d98a3e8..eea0b07 100644 (file)
@@ -826,7 +826,7 @@ static void *win32_globallookup(const char *name)
                }
 
        do      {
-               if (ret = GetProcAddress(me32.hModule,name))
+               if ((ret = GetProcAddress(me32.hModule,name)))
                        {
                        (*close_snap)(hModuleSnap);
                        FreeLibrary(dll);