Huw Davies : crypt32: Use an unsigned int to avoid a compiler warning on macOS.
Alexandre Julliard
julliard at winehq.org
Mon Feb 28 15:50:27 CST 2022
Module: wine
Branch: master
Commit: 2c9fbf8300bf55cf7ada760321846444d301361a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=2c9fbf8300bf55cf7ada760321846444d301361a
Author: Huw Davies <huw at codeweavers.com>
Date: Sat Feb 26 21:19:48 2022 +0000
crypt32: Use an unsigned int to avoid a compiler warning on macOS.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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);
}
More information about the wine-cvs
mailing list