diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2018-04-17 13:47:01 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2018-04-17 15:43:30 -0400 |
commit | 4d660fdcb05e1201ea90c5016693f13a9af68c48 (patch) | |
tree | 7fe94dbc7a7635a716b4b3d387f269f3c4c34790 /lib/vtls/schannel.c | |
parent | 24e835587714289214002506aa0e2d59313f95c0 (diff) | |
download | curl-4d660fdcb05e1201ea90c5016693f13a9af68c48.tar.gz |
schannel: fix warning
- Fix warning 'integer from pointer without a cast' on 3rd arg in
CertOpenStore. The arg type HCRYPTPROV may be a pointer or integer
type of the same size.
Follow-up to e35b025.
Caught by Marc's CI builds.
Diffstat (limited to 'lib/vtls/schannel.c')
-rw-r--r-- | lib/vtls/schannel.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c index cbcc9c532..4f3f0ce85 100644 --- a/lib/vtls/schannel.c +++ b/lib/vtls/schannel.c @@ -441,7 +441,8 @@ schannel_connect_step1(struct connectdata *conn, int sockindex) return result; } - cert_store = CertOpenStore(CURL_CERT_STORE_PROV_SYSTEM, 0, NULL, + cert_store = CertOpenStore(CURL_CERT_STORE_PROV_SYSTEM, 0, + (HCRYPTPROV)NULL, cert_store_name, cert_store_path); if(!cert_store) { Curl_unicodefree(cert_path); |