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
+1 -1
View File
@@ -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. */