From f75535607e1348c519784977d9d099f950faf201 Mon Sep 17 00:00:00 2001 From: Janne Rosberg Date: Sat, 18 Sep 2021 16:41:06 +0300 Subject: [PATCH] drivers/mmcsd/mmcsd_spi: fix warning with finfo print --- drivers/mmcsd/mmcsd_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmcsd/mmcsd_spi.c b/drivers/mmcsd/mmcsd_spi.c index 2b9e0cdd5f..666cd15a79 100644 --- a/drivers/mmcsd/mmcsd_spi.c +++ b/drivers/mmcsd/mmcsd_spi.c @@ -1297,7 +1297,7 @@ static ssize_t mmcsd_read(FAR struct inode *inode, unsigned char *buffer, SPI_SEND(spi, 0xff); mmcsd_semgive(slot); - finfo("Read %d bytes:\n", nbytes); + finfo("Read %zu bytes:\n", nbytes); mmcsd_dumpbuffer("Read buffer", buffer, nbytes); return nsectors;