nuttx-apps/netutils/dhcp6c
zhanghongyu d08ba3403d netutils/dhcp6c: fix printf-style format strings build warning
apps/netutils/dhcp6c/dhcp6c.c: In function ‘dhcp6c_command’:
apps/netutils/dhcp6c/dhcp6c.c:865:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘ssize_t’ {aka ‘long int’} [-Wformat=]
  865 |               ninfo("%s[type:%d] recv len[%d]\n", __func__, type, len);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~                  ~~~
      |                                                                   |
      |                                                                   ssize_t {aka long int}
apps/netutils/dhcp6c/dhcp6c.c:865:44: note: format string is defined here
  865 |               ninfo("%s[type:%d] recv len[%d]\n", __func__, type, len);
      |                                           ~^
      |                                            |
      |                                            int
      |                                           %ld

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-20 15:20:17 +08:00
..
CMakeLists.txt Remove the const cast from the initialization of boardioc_symtab_s::symtab 2026-04-20 15:09:53 +08:00
Kconfig Kconfig: Make indent consistent with TABS 2026-04-20 15:07:44 +08:00
Make.defs Merge branch 'dev-merge-github-20230228' into dev 2026-04-20 15:12:39 +08:00
Makefile lv_porting/gpu: eliminate warnings 2026-04-20 15:00:47 +08:00
dhcp6c.c netutils/dhcp6c: fix printf-style format strings build warning 2026-04-20 15:20:17 +08:00