Commit 07062b03 authored by Alexandre Julliard's avatar Alexandre Julliard

winhttp: Fix pointer cast warnings on 64-bit.

parent 8aa83d32
......@@ -361,7 +361,7 @@ static int netconn_secure_verify( int preverify_ok, X509_STORE_CTX *ctx )
if (!endCert) ret = FALSE;
if (ret)
{
DWORD err = netconn_verify_cert( endCert, store, server );
DWORD_PTR err = netconn_verify_cert( endCert, store, server );
if (err)
{
......@@ -641,7 +641,7 @@ BOOL netconn_secure_connect( netconn_t *conn, WCHAR *hostname )
{
DWORD err;
err = (DWORD)pSSL_get_ex_data( conn->ssl_conn, error_idx );
err = (DWORD_PTR)pSSL_get_ex_data( conn->ssl_conn, error_idx );
if (!err) err = ERROR_WINHTTP_SECURE_CHANNEL_ERROR;
ERR("couldn't verify server certificate (%d)\n", err);
set_last_error( err );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment