michi-jung commented on code in PR #6161: URL: https://github.com/apache/incubator-nuttx/pull/6161#discussion_r860578232
########## net/udp/udp_recvfrom.c: ########## @@ -244,6 +244,7 @@ static inline void udp_readahead(struct udp_recvfrom_s *pstate) pstate->ir_recvlen = recvlen; pstate->ir_buffer += recvlen; pstate->ir_buflen -= recvlen; + *pstate->ir_fromlen = (socklen_t)src_addr_size; Review Comment: I removed the cast and it still compiles warning free. Thanks! -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org