Protect EVENT_* macros - () were missing

svn:r237
This commit is contained in:
Niels Provos 2006-10-04 03:45:10 +00:00
parent 9f7d28bb81
commit b6b933af5c

View File

@ -100,8 +100,8 @@ struct event {
int ev_flags;
};
#define EVENT_SIGNAL(ev) (int)ev->ev_fd
#define EVENT_FD(ev) (int)ev->ev_fd
#define EVENT_SIGNAL(ev) (int)(ev)->ev_fd
#define EVENT_FD(ev) (int)(ev)->ev_fd
/*
* Key-Value pairs. Can be used for HTTP headers but also for