mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-24 20:16:57 +00:00
Use unsigned int for bitfields
uintN_t is not a standard type for a bitfield, as armcc points out.
This commit is contained in:
parent
ab4b201497
commit
22c51517fb
|
@ -186,8 +186,8 @@ typedef struct
|
||||||
#endif
|
#endif
|
||||||
uint8_t offset_in_block;
|
uint8_t offset_in_block;
|
||||||
uint8_t block_number;
|
uint8_t block_number;
|
||||||
uint8_t state : 2;
|
unsigned int state : 2;
|
||||||
uint8_t info_set : 1;
|
unsigned int info_set : 1;
|
||||||
} psa_hkdf_generator_t;
|
} psa_hkdf_generator_t;
|
||||||
#endif /* MBEDTLS_MD_C */
|
#endif /* MBEDTLS_MD_C */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue