From e295fa74c025a629356e82909aafec05b3cae0a6 Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Wed, 26 Feb 2014 23:35:14 +0100 Subject: [PATCH] Use correct type on platforms where time_t is 64bits like OpenBSD --- src/startup_notification.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/startup_notification.c b/src/startup_notification.c index ac3042c..0798092 100644 --- a/src/startup_notification.c +++ b/src/startup_notification.c @@ -126,7 +126,8 @@ sn_collect_timed_out_foreach (void *element, void *data) { CollectTimedOutData *ctod; SnStartupSequence *sequence; - long tv_sec, tv_usec; + time_t tv_sec; + suseconds_t tv_usec; double elapsed; g_return_if_fail (data != NULL); -- 1.8.5.3