Skip to content

Commit 634c41f

Browse files
author
Andrzej Kurek
committed
Cast to a non-const pointer to drop a compiler warning
1 parent ae0e5db commit 634c41f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atecc608a_se.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ static psa_status_t atecc608a_import_public_key(psa_key_slot_number_t key_slot,
219219

220220
ASSERT_SUCCESS_PSA(atecc608a_init());
221221

222-
ASSERT_SUCCESS(atcab_write_pubkey(key_id, pubkey_for_driver(p_data)));
222+
ASSERT_SUCCESS(atcab_write_pubkey(key_id, pubkey_for_driver((uint8_t *) p_data)));
223223
exit:
224224
atecc608a_deinit();
225225
return status;

0 commit comments

Comments
 (0)