aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-03-15 08:38:03 +0000
committerWerner Koch <[email protected]>2021-04-29 17:45:00 +0000
commit8bc808a98f3a3942d5e31b64bf60e6258fcac923 (patch)
tree5c3cd576c7ddcce83d9b250e82e4797f5416311b
parentscd: New option --pcsc-shared. (diff)
downloadgnupg-8bc808a98f3a3942d5e31b64bf60e6258fcac923.tar.gz
gnupg-8bc808a98f3a3942d5e31b64bf60e6258fcac923.zip
w32: Silence a compiler warning in dirmngr.c
-- (cherry picked from commit 683ff00bb1454d82914b2bddbf316057221971c1)
-rw-r--r--dirmngr/certcache.c6
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)