[PATCH 1/1] gettime.h: use time_t instead of size_t for copy of tv_sec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Castor Fu <castor@xxxxxxxxxxx>

This addresses a small nit that our compiler was complaining about.
Thanks!

---
 gettime.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gettime.h b/gettime.h
index eb3537b..86d55bd 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;
-- 
1.8.4

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux