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:
parent
57a8ccf4e8
commit
2c9fbf8300
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue