1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Fix "int vs enum" warnings from armcc v5

enumerated type mixed with another type
This commit is contained in:
Manuel Pégourié-Gonnard
2015-02-10 17:32:14 +01:00
parent 7f84905552
commit a273371fc4
7 changed files with 16 additions and 14 deletions

View File

@ -1442,7 +1442,7 @@ const cipher_definition_t cipher_definitions[] =
{ POLARSSL_CIPHER_NULL, &null_cipher_info },
#endif /* POLARSSL_CIPHER_NULL_CIPHER */
{ 0, NULL }
{ POLARSSL_CIPHER_NONE, NULL }
};
#define NUM_CIPHERS sizeof cipher_definitions / sizeof cipher_definitions[0]