diff options
author | Werner Koch <[email protected]> | 2021-03-15 08:38:03 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-04-29 17:45:00 +0000 |
commit | 8bc808a98f3a3942d5e31b64bf60e6258fcac923 (patch) | |
tree | 5c3cd576c7ddcce83d9b250e82e4797f5416311b | |
parent | scd: New option --pcsc-shared. (diff) | |
download | gnupg-8bc808a98f3a3942d5e31b64bf60e6258fcac923.tar.gz gnupg-8bc808a98f3a3942d5e31b64bf60e6258fcac923.zip |
w32: Silence a compiler warning in dirmngr.c
--
(cherry picked from commit 683ff00bb1454d82914b2bddbf316057221971c1)
-rw-r--r-- | dirmngr/certcache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dirmngr/certcache.c b/dirmngr/certcache.c index 9ca6069a2..bee1c44d6 100644 --- a/dirmngr/certcache.c +++ b/dirmngr/certcache.c @@ -572,11 +572,11 @@ load_certs_from_w32_store (const char *storename) } pCertOpenSystemStore = (CERTOPENSYSTEMSTORE) - GetProcAddress (hCrypt32, "CertOpenSystemStoreA"); + (void*)GetProcAddress (hCrypt32, "CertOpenSystemStoreA"); pCertEnumCertificatesInStore = (CERTENUMCERTIFICATESINSTORE) - GetProcAddress (hCrypt32, "CertEnumCertificatesInStore"); + (void*)GetProcAddress (hCrypt32, "CertEnumCertificatesInStore"); pCertCloseStore = (CERTCLOSESTORE) - GetProcAddress (hCrypt32, "CertCloseStore"); + (void*)GetProcAddress (hCrypt32, "CertCloseStore"); if ( !pCertOpenSystemStore || !pCertEnumCertificatesInStore || !pCertCloseStore) |