Networking: Add a trivial cast
This commit is contained in:
parent
41164740a5
commit
b5024263e9
2
arch
2
arch
@ -1 +1 @@
|
|||||||
Subproject commit 757fb2224ae99916b8b46695a007a6be06f33dfb
|
Subproject commit 82ecebee6adc0b90660cc3dec4a386719192f3ed
|
@ -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. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user