mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-22 03:31:15 +00:00
Fix IAR warning
The IAR compiler doesn't like it when we assign an int to an enum variable. "C:\builds\ws\mbedtls-restricted-pr\library\ecp.c",509 Error[Pe188]: enumerated type mixed with another type
This commit is contained in:
parent
79d9b50421
commit
95e2ecae95
|
@ -506,7 +506,7 @@ void mbedtls_ecp_group_init( mbedtls_ecp_group *grp )
|
|||
if( grp == NULL )
|
||||
return;
|
||||
|
||||
grp->id = 0;
|
||||
grp->id = MBEDTLS_ECP_DP_NONE;
|
||||
mbedtls_mpi_init( &grp->P );
|
||||
mbedtls_mpi_init( &grp->A );
|
||||
mbedtls_mpi_init( &grp->B );
|
||||
|
|
Loading…
Reference in a new issue