aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/certcache.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-03-15 08:38:03 +0000
committerWerner Koch <[email protected]>2021-03-15 08:50:31 +0000
commit683ff00bb1454d82914b2bddbf316057221971c1 (patch)
tree0c371bcb3e457c6a273dbeb1fee0267131ae5642 /dirmngr/certcache.c
parentbuild: new option to disable building of tpm2daemon (diff)
downloadgnupg-683ff00bb1454d82914b2bddbf316057221971c1.tar.gz
gnupg-683ff00bb1454d82914b2bddbf316057221971c1.zip
w32: Silence a compiler warning in dirmngr.c
--
Diffstat (limited to 'dirmngr/certcache.c')
-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)