Networking: Add a trivial cast

This commit is contained in:
Gregory Nutt 2016-02-03 18:12:19 -06:00
parent 41164740a5
commit b5024263e9
2 changed files with 2 additions and 2 deletions

2
arch

@ -1 +1 @@
Subproject commit 757fb2224ae99916b8b46695a007a6be06f33dfb Subproject commit 82ecebee6adc0b90660cc3dec4a386719192f3ed

View File

@ -438,7 +438,7 @@ int devif_timer(FAR struct net_driver_s *dev, devif_poll_callback_t callback)
*/ */
now = clock_systimer(); 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. */ /* Process time-related events only when more than one half second elapses. */