Change type of mbedtls_ms_time_t

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2023-01-31 12:49:45 +08:00
parent b1d3015e27
commit eb30684d55

View file

@ -42,7 +42,8 @@ typedef time_t mbedtls_time_t;
#if defined(MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO)
typedef MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO mbedtls_ms_time_t;
#else
typedef signed long long mbedtls_ms_time_t;
#include <stdint.h>
typedef int64_t mbedtls_ms_time_t;
#endif /* MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO */
/**