mirror of
https://github.com/cuberite/polarssl.git
synced 2025-11-01 20:20:57 -04: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…
x
Reference in New Issue
Block a user