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;