Skip to content

Commit 8c6646b

Browse files
committed
securechip: Fix gcc complaint about implicit enum cast
1 parent 1746792 commit 8c6646b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/securechip/securechip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ static ATCA_STATUS _lock_slot(securechip_slot_t slot)
220220
static ATCA_STATUS _factory_setup(void)
221221
{
222222
if (_interface_functions == NULL) {
223-
return SC_ERR_IFS;
223+
return (ATCA_STATUS)SC_ERR_IFS;
224224
}
225225
bool is_config_locked = false;
226226
ATCA_STATUS result = atcab_is_locked(LOCK_ZONE_CONFIG, &is_config_locked);

0 commit comments

Comments
 (0)