From 4b6213adef6a127f84565244dbd731bf99d701ae Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Thu, 16 Nov 2023 14:10:32 +0100 Subject: [PATCH] nrf91/nrf91_modem_sock.c: fix printf warnings --- arch/arm/src/nrf91/nrf91_modem_sock.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/nrf91/nrf91_modem_sock.c b/arch/arm/src/nrf91/nrf91_modem_sock.c index d9b2bf327b..f7ee0389ce 100644 --- a/arch/arm/src/nrf91/nrf91_modem_sock.c +++ b/arch/arm/src/nrf91/nrf91_modem_sock.c @@ -1193,12 +1193,13 @@ int usrsock_request(struct iovec *iov, unsigned int iovcnt) g_usrsock.in, ret); if (ret < 0) { - nerr("Usrsock request %d failed: %d\n", common->reqid, ret); + nerr("Usrsock request %" PRId32 " failed: %d\n", + common->reqid, ret); } } else { - nerr("Invalid request id: %d\n", common->reqid); + nerr("Invalid request id: %" PRId32 "\n", common->reqid); } return ret;