summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/quark/spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/quark/spi.c b/src/soc/intel/quark/spi.c
index c943567e1d..a6647fb71a 100644
--- a/src/soc/intel/quark/spi.c
+++ b/src/soc/intel/quark/spi.c
@@ -104,7 +104,7 @@ static int xfer(const struct spi_slave *slave, const void *dout,
/* Validate the buffer sizes */
if (bytesin > sizeof(ctrlr->data)) {
- printk(BIOS_ERR, "bytesin > %ld\n", sizeof(ctrlr->data));
+ printk(BIOS_ERR, "bytesin > %zu\n", sizeof(ctrlr->data));
goto error;
}