mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 23:38:09 +00:00
Avoid MSVC compiler warning
MSVC warns about use of unary `-` operator on unsigned integers.
This commit is contained in:
parent
fb1972db23
commit
d6ddcd660f
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ static void x509_crt_verify_chain_reset(
|
||||||
for( i = 0; i < MBEDTLS_X509_MAX_VERIFY_CHAIN_SIZE; i++ )
|
for( i = 0; i < MBEDTLS_X509_MAX_VERIFY_CHAIN_SIZE; i++ )
|
||||||
{
|
{
|
||||||
ver_chain->items[i].crt = NULL;
|
ver_chain->items[i].crt = NULL;
|
||||||
ver_chain->items[i].flags = -1;
|
ver_chain->items[i].flags = (uint32_t) -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
ver_chain->len = 0;
|
ver_chain->len = 0;
|
||||||
|
|
Loading…
Reference in a new issue