On Thursday 23 April 2009 18:46:38 Austin English wrote:

> diff --git a/dlls/winhttp/net.c b/dlls/winhttp/net.c
> index 79e6789..3c68ee0 100644
> --- a/dlls/winhttp/net.c
> +++ b/dlls/winhttp/net.c
> @@ -82,7 +82,7 @@ static CRITICAL_SECTION cs_gethostbyname = { 
> &critsect_debug, -1, 0, 0, 0, 0 };
>  static void *libssl_handle;
>  static void *libcrypto_handle;
>  
> -static SSL_METHOD *method;
> +static const SSL_METHOD *method;
>  static SSL_CTX *ctx;

This generates a new warning here:

net.c: In function ‘netconn_secure_connect’:
net.c:314: warning: passing argument 1 of ‘pSSL_CTX_new’ discards qualifiers 
from pointer target type

 -Hans


Reply via email to