From 164aa72250d1f2e7b2e2d4393ecd19ad85e91f79 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 26 Feb 2021 09:26:24 +0100 Subject: [PATCH] cpu/stm32/periph_eth: fix format specifier in DEBUG() Use PRIu32 instead of lu to make LLVM happy. --- cpu/stm32/periph/eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/stm32/periph/eth.c b/cpu/stm32/periph/eth.c index f78b3a707a..fa036cbb2f 100644 --- a/cpu/stm32/periph/eth.c +++ b/cpu/stm32/periph/eth.c @@ -142,7 +142,7 @@ static void _debug_rx_descriptor_info(unsigned line) DEBUG("[stm32_eth:%u] RX descriptors:\n", line); for (unsigned i = 0; i < ETH_RX_DESCRIPTOR_COUNT; i++) { uint32_t status = rx_desc[i].status; - DEBUG(" %s %u: OWN=%c, FS=%c, LS=%c, ES=%c, DE=%c, FL=%lu\n", + DEBUG(" %s %u: OWN=%c, FS=%c, LS=%c, ES=%c, DE=%c, FL=%" PRIu32 "\n", (rx_curr == rx_desc + i) ? "-->" : " ", i, (status & RX_DESC_STAT_OWN) ? '1' : '0',