summaryrefslogtreecommitdiff
path: root/include/poll.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-01 00:20:24 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-01 00:20:24 -0400
commit3f62f76cab46fbd28248ed251a88278c6ea1be3a (patch)
tree95fce946c2528360913206409e6342cd0ab83d0a /include/poll.h
parent0447b8dc5c4479fa7b505d2b9d341bca12adbd25 (diff)
downloadmusl-3f62f76cab46fbd28248ed251a88278c6ea1be3a.tar.gz
musl-3f62f76cab46fbd28248ed251a88278c6ea1be3a.tar.bz2
musl-3f62f76cab46fbd28248ed251a88278c6ea1be3a.tar.xz
musl-3f62f76cab46fbd28248ed251a88278c6ea1be3a.zip
fix wrong type for poll.h nfds_t
this should not break anything since the type should never be used except as the argument type for poll.
Diffstat (limited to 'include/poll.h')
-rw-r--r--include/poll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/poll.h b/include/poll.h
index f868ab57..36ef7fee 100644
--- a/include/poll.h
+++ b/include/poll.h
@@ -17,7 +17,7 @@ extern "C" {
#define POLLWRBAND 0x200
#define POLLMSG 0x400
-typedef unsigned int nfds_t;
+typedef unsigned long nfds_t;
struct pollfd
{