acassis commented on code in PR #10961:
URL: https://github.com/apache/nuttx/pull/10961#discussion_r1364016806


##########
net/route/net_del_ramroute.c:
##########
@@ -91,7 +91,8 @@ static int net_match_ipv4(FAR struct net_route_ipv4_s *route, 
FAR void *arg)
   net_ipv4_dumproute("Comparing", route);
   ninfo("With:\n");
   ninfo("  target=%08" PRIx32 " netmask=%08" PRIx32 "\n",
-        HTONL(match->target), HTONL(match->netmask));
+        (unsigned long int)HTONL(match->target),

Review Comment:
   Initially because the Xtensa CI is complain: "error: format specifies type 
'unsigned int' but the argument has type 'unsigned long long'", then I cast to 
"(unsigned int)", but then ARM CI started failing because it was expecting 
"unsigned long int".
   
   As you can see, there is not a cast that will work for all. This is why I 
asked if you know how to fix it!?



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

Reply via email to