xiaoxiang781216 commented on a change in pull request #5296:
URL: https://github.com/apache/incubator-nuttx/pull/5296#discussion_r789638749
##########
File path: net/tcp/tcp_accept.c
##########
@@ -232,7 +232,7 @@ int psock_tcp_accept(FAR struct socket *psock, FAR struct
sockaddr *addr,
{
/* Yes... get the address of the connected client */
- ninfo("Pending conn=%p\n", state.acpt_newconn);
+ ninfo("Pending conn=%p\n", (void *)state.acpt_newconn);
Review comment:
%p for the non void pointer is used in many many place, and the usage is
harmless too. The compiler warning is stupid sometime:(.
--
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]