anchao opened a new pull request, #7012:
URL: https://github.com/apache/incubator-nuttx/pull/7012

   
   ## Summary
   
   net/mld/route: fix build warning
   
   ```
   In file included from route/net_del_ramroute.c:30:
   route/net_del_ramroute.c: In function ‘net_match_ipv4’:
   route/net_del_ramroute.c:93:9: warning: format ‘%lx’ expects argument of 
type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=]
      93 |   ninfo("  target=%08lx netmask=%08lx\n",
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   route/net_del_ramroute.c:93:23: note: format string is defined here
      93 |   ninfo("  target=%08lx netmask=%08lx\n",
         |                   ~~~~^
         |                       |
         |                       long unsigned int
         |                   %08x
   
   mld/mld_timer.c: In function ‘mld_gendog_work’:
   mld/mld_timer.c:118:13: warning: cast from pointer to integer of different 
size [-Wpointer-to-int-cast]
     118 |   ifindex = (int)arg;
         |             ^
   mld/mld_timer.c: In function ‘mld_v1dog_work’:
   mld/mld_timer.c:237:13: warning: cast from pointer to integer of different 
size [-Wpointer-to-int-cast]
     237 |   ifindex = (int)arg;
         |             ^
   
   ```
   Signed-off-by: chao an <anc...@xiaomi.com>
   
   ## Impact
   
   N/A
   
   ## Testing
   
   enable CONFIG_NET_ROUTE/CONFIG_NET_MLD


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