]> Dogcows Code - chaz/openbox/blobdiff - openbox/mainloop.c
consistant glib type usage
[chaz/openbox] / openbox / mainloop.c
index 3f9381f3e7dc12c6f8996bc84b69a7d48295a15e..0dd3b6b8b4e881497ff3ecc92b755774b5347bfc 100644 (file)
@@ -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;
This page took 0.023149 seconds and 4 git commands to generate.