Don't use uint8_t for bitfields

Fixing a build failure using armcc.
This commit is contained in:
Hanno Becker 2018-08-22 13:32:50 +01:00
parent aa24937853
commit 98081a09e6

View File

@ -319,9 +319,9 @@ struct mbedtls_ssl_handshake_params
struct mbedtls_ssl_hs_buffer struct mbedtls_ssl_hs_buffer
{ {
uint8_t is_valid : 1; unsigned is_valid : 1;
uint8_t is_fragmented : 1; unsigned is_fragmented : 1;
uint8_t is_complete : 1; unsigned is_complete : 1;
unsigned char *data; unsigned char *data;
size_t data_len; size_t data_len;
} hs[MBEDTLS_SSL_MAX_BUFFERED_HS]; } hs[MBEDTLS_SSL_MAX_BUFFERED_HS];