fix wrong type for poll.h nfds_t
authorRich Felker <dalias@aerifal.cx>
Sat, 1 Sep 2012 04:20:24 +0000 (00:20 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 1 Sep 2012 04:20:24 +0000 (00:20 -0400)
this should not break anything since the type should never be used
except as the argument type for poll.

include/poll.h

index f868ab5..36ef7fe 100644 (file)
@@ -17,7 +17,7 @@ extern "C" {
 #define POLLWRBAND 0x200
 #define POLLMSG    0x400
 
-typedef unsigned int nfds_t;
+typedef unsigned long nfds_t;
 
 struct pollfd
 {