BugID:18537056: fix the whitescan problem in LoRaMacCrypto.c
@@ -1554,7 +1554,7 @@ LoRaMacCryptoStatus_t LoRaMacCryptoDeriveMcKEKey( void )
if( retval != SECURE_ELEMENT_SUCCESS )
{
- return retval;
+ return (LoRaMacCryptoStatus_t)retval;
}
SecureElementSetKey( MC_ROOT_KEY, rootkey );
@@ -1563,7 +1563,7 @@ LoRaMacCryptoStatus_t LoRaMacCryptoDeriveMcKEKey( void )
if( retval != SECURE_ELEMENT_SUCCESS )
{
- return retval;
+ return (LoRaMacCryptoStatus_t)retval;
}
SecureElementSetKey( MC_KE_KEY, kekey );
