projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82fd321
)
a 64-bit fix
author
Dana Jansens
<danakj@orodu.net>
Fri, 2 May 2008 15:01:38 +0000
(11:01 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 2 May 2008 17:44:16 +0000
(13:44 -0400)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index 3abaa675e1428fe54a1e0c64882aea1f2a3680e7..502beb278c3fe1347f58568f3f675ebb9ba2930e 100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-2013,7
+2013,7
@@
gboolean event_time_after(Time t1, Time t2)
*/
/* TIME_HALF is half of the number space of a Time type variable */
-#define TIME_HALF (Time)(1 << (sizeof(Time)*8-1))
+#define TIME_HALF (Time)(
(Time)
1 << (sizeof(Time)*8-1))
if (t2 >= TIME_HALF)
/* t2 is in the second half so t1 might wrap around and be smaller than