Skip to content

Commit 02786f1

Browse files
committed
sys/auto_init: fix printf format for native
Signed-off-by: Gilles DOFFE <[email protected]>
1 parent 92579c1 commit 02786f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sys/auto_init/security/auto_init_atca.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ static struct atca_device atca_devs[ATCA_NUMOF];
4040
#if IS_USED(MODULE_PSA_SECURE_ELEMENT_ATECCX08A)
4141
void auto_init_atca(void)
4242
{
43-
DEBUG("[auto_init_atca] Number of secure elements: %d\n", ATCA_NUMOF);
43+
DEBUG("[auto_init_atca] Number of secure elements: %zu\n", ATCA_NUMOF);
4444
for (unsigned i = 0; i < ATCA_NUMOF; i++) {
4545
int status = initATCADevice((ATCAIfaceCfg *)&atca_params[i].cfg, (ATCADevice)&atca_devs[i]);
4646
if (status != ATCA_SUCCESS) {
@@ -66,7 +66,7 @@ void auto_init_atca(void)
6666
#else
6767
void auto_init_atca(void)
6868
{
69-
DEBUG("[auto_init_atca] Number of secure elements: %d\n", ATCA_NUMOF);
69+
DEBUG("[auto_init_atca] Number of secure elements: %zu\n", ATCA_NUMOF);
7070
for (unsigned i = 0; i < ATCA_NUMOF; i++) {
7171
int status = initATCADevice((ATCAIfaceCfg *)&atca_params[i], (ATCADevice)&atca_devs[i]);
7272
if (status != ATCA_SUCCESS) {

0 commit comments

Comments
 (0)