a-lunev commented on a change in pull request #5296:
URL: https://github.com/apache/incubator-nuttx/pull/5296#discussion_r789708381
##########
File path: net/tcp/tcp_recvfrom.c
##########
@@ -191,10 +191,10 @@ static inline uint16_t tcp_newdata(FAR struct
net_driver_s *dev,
if (nsaved < buflen)
{
nwarn("WARNING: packet data not fully saved "
- "(%d/%u/%zu/%u bytes)\n",
+ "(%d/%u/%u/%u bytes)\n",
buflen - nsaved,
(unsigned int)nsaved,
- recvlen,
+ (unsigned int)recvlen,
Review comment:
I have updated the patch. ("warning: ISO C90 does not support the āzā
gnu_printf length modifier [-Wformat=]" is not required to fix).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]