nuttx-apps/examples/netlink_route
chao an 8b368b7680 examples/netlink_route: fix compiler warning
netlink_route_main.c: In function ‘dump_neighbor’:
netlink_route_main.c:151:26: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘uint8_t *’ {aka ‘unsigned char *’} [-Wformat=]
  151 |               printf("%02x", nb->ne_addr.u.na_addr);
      |                       ~~~^   ~~~~~~~~~~~~~~~~~~~~~
      |                          |                |
      |                          unsigned int     uint8_t * {aka unsigned char *}
      |                       %02hhn
netlink_route_main.c:155:26: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘uint8_t *’ {aka ‘unsigned char *’} [-Wformat=]
  155 |               printf("%02x.", nb->ne_addr.u.na_addr);
      |                       ~~~^    ~~~~~~~~~~~~~~~~~~~~~
      |                          |                 |
      |                          unsigned int      uint8_t * {aka unsigned char *}
      |                       %02hhn

Signed-off-by: chao an <anchao@xiaomi.com>
2023-01-11 15:14:51 +08:00
..
Kconfig Change the defaults of stack size configs to DEFAULT_TASK_STACKSIZE 2020-03-27 02:43:11 -05:00
Make.defs Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00
Makefile Makefiles: Gregory Nutt: update licenses to Apache 2021-06-07 21:35:33 -05:00
netlink_route_main.c examples/netlink_route: fix compiler warning 2023-01-11 15:14:51 +08:00