The pollfd fields events & revents had the wrong size (int instead of short).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1749 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -8,8 +8,8 @@ typedef unsigned long nfds_t;
|
|||||||
|
|
||||||
struct pollfd {
|
struct pollfd {
|
||||||
int fd;
|
int fd;
|
||||||
int events; /* events to look for */
|
short events; /* events to look for */
|
||||||
int revents; /* events that occured */
|
short revents; /* events that occured */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* events & revents - compatible with the B_SELECT_xxx definitions in Drivers.h */
|
/* events & revents - compatible with the B_SELECT_xxx definitions in Drivers.h */
|
||||||
|
|||||||
Reference in New Issue
Block a user