1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Fix MSVC 64-bit warnings

"conversion from size_t to int, possible loss of data"
This commit is contained in:
Manuel Pégourié-Gonnard
2017-08-28 13:25:55 +02:00
parent 196d1338ba
commit bb216bd940
2 changed files with 9 additions and 9 deletions

View File

@ -161,7 +161,7 @@ typedef struct {
typedef struct
{
mbedtls_x509_crt_verify_chain_item items[MBEDTLS_X509_MAX_VERIFY_CHAIN_SIZE];
size_t len;
unsigned len;
} mbedtls_x509_crt_verify_chain;
#if defined(MBEDTLS_ECDSA_C) && defined(MBEDTLS_ECP_RESTARTABLE)