commit | bb216bd94040c848f6cd6310fb103da00161aa7a | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Mon Aug 28 13:25:55 2017 +0200 |
committer | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Mon Aug 28 13:25:55 2017 +0200 |
tree | 0ca3abd3a1e8961619753f82c7cae6c977818c87 | |
parent | 196d1338bab65c5321f77401e28d252eabe9704b [diff] |
Fix MSVC 64-bit warnings "conversion from size_t to int, possible loss of data"
diff --git a/include/mbedtls/x509_crt.h b/include/mbedtls/x509_crt.h index 6831812..a168d76 100644 --- a/include/mbedtls/x509_crt.h +++ b/include/mbedtls/x509_crt.h
@@ -161,7 +161,7 @@ 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)