winhttp: Fix pointer cast warnings on 64-bit.
This commit is contained in:
parent
8aa83d326a
commit
07062b0340
|
@ -361,7 +361,7 @@ static int netconn_secure_verify( int preverify_ok, X509_STORE_CTX *ctx )
|
||||||
if (!endCert) ret = FALSE;
|
if (!endCert) ret = FALSE;
|
||||||
if (ret)
|
if (ret)
|
||||||
{
|
{
|
||||||
DWORD err = netconn_verify_cert( endCert, store, server );
|
DWORD_PTR err = netconn_verify_cert( endCert, store, server );
|
||||||
|
|
||||||
if (err)
|
if (err)
|
||||||
{
|
{
|
||||||
|
@ -641,7 +641,7 @@ BOOL netconn_secure_connect( netconn_t *conn, WCHAR *hostname )
|
||||||
{
|
{
|
||||||
DWORD err;
|
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;
|
if (!err) err = ERROR_WINHTTP_SECURE_CHANNEL_ERROR;
|
||||||
ERR("couldn't verify server certificate (%d)\n", err);
|
ERR("couldn't verify server certificate (%d)\n", err);
|
||||||
set_last_error( err );
|
set_last_error( err );
|
||||||
|
|
Loading…
Reference in New Issue