diff --git a/arch b/arch index 757fb2224a..82ecebee6a 160000 --- a/arch +++ b/arch @@ -1 +1 @@ -Subproject commit 757fb2224ae99916b8b46695a007a6be06f33dfb +Subproject commit 82ecebee6adc0b90660cc3dec4a386719192f3ed diff --git a/net/devif/devif_poll.c b/net/devif/devif_poll.c index 38d57e725e..c8263f0d9c 100644 --- a/net/devif/devif_poll.c +++ b/net/devif/devif_poll.c @@ -438,7 +438,7 @@ int devif_timer(FAR struct net_driver_s *dev, devif_poll_callback_t callback) */ now = clock_systimer(); - hsec = (now - g_polltime) / TICK_PER_HSEC; + hsec = (int)((now - g_polltime) / TICK_PER_HSEC); /* Process time-related events only when more than one half second elapses. */