X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=gettime.c;h=85ba7cba8954aa3a70ae5e1faf9a76ab6ab22c72;hp=73b48b0463a0efb00144bae289d6de377b197dbf;hb=7fcad9e1cf089289372cc91a85fba0c7e5978474;hpb=20ac4e77e5c8e0b17730fd8761abdf1b65fc1f15 diff --git a/gettime.c b/gettime.c index 73b48b04..85ba7cba 100644 --- a/gettime.c +++ b/gettime.c @@ -381,7 +381,7 @@ void fio_clock_init(void) uint64_t utime_since(const struct timeval *s, const struct timeval *e) { - long sec, usec; + int64_t sec, usec; sec = e->tv_sec - s->tv_sec; usec = e->tv_usec - s->tv_usec;