[PATCH] crypt32: Use an unsigned int to avoid a compiler warning on macOS.
Huw Davies
huw at codeweavers.com
Sat Feb 26 15:19:48 CST 2022
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
dlls/crypt32/unixlib.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/crypt32/unixlib.c b/dlls/crypt32/unixlib.c
index a345b5e6ac8..9a36d12f293 100644
--- a/dlls/crypt32/unixlib.c
+++ b/dlls/crypt32/unixlib.c
@@ -623,7 +623,7 @@ static const char * const CRYPT_knownLocations[] = {
static void load_root_certs(void)
{
- DWORD i;
+ unsigned int i;
#ifdef HAVE_SECURITY_SECURITY_H
const SecTrustSettingsDomain domains[] = {
@@ -651,7 +651,7 @@ static void load_root_certs(void)
CFRelease(certData);
}
else
- WARN("could not export certificate %d to X509 format: 0x%08x\n", i, (unsigned int)status);
+ WARN("could not export certificate %u to X509 format: 0x%08x\n", i, (unsigned int)status);
}
CFRelease(certs);
}
--
2.23.0
More information about the wine-devel
mailing list