From 76b4a7ef86098f6453b9438fe0905a40f01f854b Mon Sep 17 00:00:00 2001 From: Castor Fu Date: Fri, 13 Feb 2015 06:46:04 -0800 Subject: [PATCH] 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 --- gettime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1