From: Castor Fu Date: Fri, 13 Feb 2015 14:46:04 +0000 (-0800) Subject: gettime.h: use time_t instead of size_t for copy of tv_sec X-Git-Tag: fio-2.2.6~15 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=76b4a7ef86098f6453b9438fe0905a40f01f854b;p=fio.git gettime.h: use time_t instead of size_t for copy of tv_sec This addresses a small nit that our compiler was complaining about. Thanks! Signed-off-by: Jens Axboe --- diff --git a/gettime.h b/gettime.h index eb3537b1..86d55bd9 100644 --- a/gettime.h +++ b/gettime.h @@ -24,7 +24,7 @@ extern struct timeval *fio_tv; static inline int fio_gettime_offload(struct timeval *tv) { - size_t last_sec; + time_t last_sec; if (!fio_tv) return 0;