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

View file

@ -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);
}