unsigned long utime_since(struct timeval *s, struct timeval *e)
{
- double sec, usec;
+ long sec, usec;
sec = e->tv_sec - s->tv_sec;
usec = e->tv_usec - s->tv_usec;
unsigned long mtime_since(struct timeval *s, struct timeval *e)
{
- double sec, usec;
+ long sec, usec;
sec = e->tv_sec - s->tv_sec;
usec = e->tv_usec - s->tv_usec;