diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-10-15 03:59:35 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-10-15 03:59:35 +0000 |
| commit | 740c5b2a20d5110435d0874f8cc6a4c9dfd14777 (patch) | |
| tree | 41dd6d301a1da504b6bc9ec7b4cccea2efd16423 /openbox/mainloop.c | |
| parent | 8085f3490fb5790d15fcb47988bbc24e17467725 (diff) | |
consistant glib type usage
Diffstat (limited to 'openbox/mainloop.c')
| -rw-r--r-- | openbox/mainloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
