crypt32: Use an unsigned int to avoid a compiler warning on macOS.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2022-02-26 21:19:48 +00:00 committed by Alexandre Julliard
parent 57a8ccf4e8
commit 2c9fbf8300
1 changed files with 2 additions and 2 deletions

View File

@ -623,7 +623,7 @@ static const char * const CRYPT_knownLocations[] = {
static void load_root_certs(void) static void load_root_certs(void)
{ {
DWORD i; unsigned int i;
#ifdef HAVE_SECURITY_SECURITY_H #ifdef HAVE_SECURITY_SECURITY_H
const SecTrustSettingsDomain domains[] = { const SecTrustSettingsDomain domains[] = {
@ -651,7 +651,7 @@ static void load_root_certs(void)
CFRelease(certData); CFRelease(certData);
} }
else 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); CFRelease(certs);
} }