summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
Diffstat (limited to 'ev.h')
-rw-r--r--ev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev.h b/ev.h
index 69d49a8..7bf91e5 100644
--- a/ev.h
+++ b/ev.h
@@ -197,7 +197,7 @@ struct ev_loop;
/* eventmask, revents, events... */
enum {
- EV_UNDEF = -1, /* guaranteed to be invalid */
+ EV_UNDEF = 0xFFFFFFFF, /* guaranteed to be invalid */
EV_NONE = 0x00, /* no events */
EV_READ = 0x01, /* ev_io detected read will not block */
EV_WRITE = 0x02, /* ev_io detected write will not block */