incubator-nuttx/net/igmp
Xiang Xiao fdb7e6e460 net/igmp: Fix the compiler warning on 64bit platform
igmp/igmp_timer.c: In function ‘igmp_timeout’:
igmp/igmp_timer.c:163:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  163 |   group = (FAR struct igmp_group_s *)arg;
      |           ^
igmp/igmp_timer.c: In function ‘igmp_startticks’:
igmp/igmp_timer.c:200:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  200 |   ret = wd_start(group->wdog, ticks, igmp_timeout, 1, (uint32_t)group);
      |                                                       ^
igmp/igmp_timer.c:200:38: warning: passing argument 3 of ‘wd_start’ from incompatible pointer type [-Wincompatible-pointer-types]
  200 |   ret = wd_start(group->wdog, ticks, igmp_timeout, 1, (uint32_t)group);
      |                                      ^~~~~~~~~~~~
      |                                      |
      |                                      void (*)(int,  uint32_t, ...) {aka void (*)(int,  unsigned int, ...)}
In file included from igmp/igmp_timer.c:50:
/home/xiaoxiang/mirtos/nuttx/include/nuttx/wdog.h:233:53: note: expected ‘wdentry_t’ {aka ‘void (*)(int,  long unsigned int, ...)’} but argument is of type ‘void (*)(int,  uint32_t, ...)’ {aka ‘void (*)(int,  unsigned int, ...)’}
  233 | int wd_start(WDOG_ID wdog, int32_t delay, wdentry_t wdentry, int argc, ...);

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I153355f85f583f5441d97a0b1278bce167eb3fd0
2020-06-15 21:21:42 +01:00
..
Kconfig net/igmp: Backport some MLD design improments/fixes. 2018-11-04 07:43:51 -06:00
Make.defs
igmp.h net/igmp/igmp.h: include <nuttx/semaphore.h> to fix build break 2020-02-02 18:33:42 -08:00
igmp_group.c sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
igmp_initialize.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
igmp_input.c net/: Run all .c files under net/ through tools/nxstyle and fix all resulting complaints. 2020-01-11 13:41:33 -03:00
igmp_join.c net/igmp: Backport some MLD design improments/fixes. 2018-11-04 07:43:51 -06:00
igmp_leave.c net/igmp: Backport some MLD design improments/fixes. 2018-11-04 07:43:51 -06:00
igmp_mcastmac.c
igmp_msg.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
igmp_poll.c net/: Fix some new problems found by the current nxstyle with .c files in the net/ directory. (#92) 2020-01-13 21:26:04 +01:00
igmp_send.c net/igmp/igmp_send.c: Fix a typo in a debug statement. Noted by Bernd Walter. 2019-09-25 13:46:24 -06:00
igmp_timer.c net/igmp: Fix the compiler warning on 64bit platform 2020-06-15 21:21:42 +01:00