From 740c5b2a20d5110435d0874f8cc6a4c9dfd14777 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 15 Oct 2003 03:59:35 +0000 Subject: consistant glib type usage --- openbox/mainloop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/mainloop.c') diff --git a/openbox/mainloop.c b/openbox/mainloop.c index 3f9381f3..0dd3b6b8 100644 --- a/openbox/mainloop.c +++ b/openbox/mainloop.c @@ -565,9 +565,9 @@ void ob_main_loop_fd_remove(ObMainLoop *loop, #define NEAREST_TIMEOUT(loop) \ (((ObMainLoopTimer*)(loop)->timers->data)->timeout) -static long timecompare(GTimeVal *a, GTimeVal *b) +static glong timecompare(GTimeVal *a, GTimeVal *b) { - long r; + glong r; if ((r = b->tv_sec - a->tv_sec)) return r; return b->tv_usec - a->tv_usec; -- cgit v1.2.3