From 683ff00bb1454d82914b2bddbf316057221971c1 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 15 Mar 2021 09:38:03 +0100 Subject: [PATCH] w32: Silence a compiler warning in dirmngr.c -- --- dirmngr/certcache.c | 6 +++--- 1 file 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)