nrf91/nrf91_modem_sock.c: fix printf warnings

This commit is contained in:
raiden00pl 2023-11-16 14:10:32 +01:00 committed by Xiang Xiao
parent 6f0cf35a4e
commit 4b6213adef
1 changed files with 3 additions and 2 deletions

View File

@ -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;