* [PATCH 1/1] gettime.h: use time_t instead of size_t for copy of tv_sec
@ 2015-02-13 14:46 castor.fu
2015-02-16 21:59 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: castor.fu @ 2015-02-13 14:46 UTC (permalink / raw)
To: fio; +Cc: Castor Fu
From: Castor Fu <castor@egocast.org>
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-16 21:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-13 14:46 [PATCH 1/1] gettime.h: use time_t instead of size_t for copy of tv_sec castor.fu
2015-02-16 21:59 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox