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 f868ab575c0df67bf6cbc0e80919d2987d20b345..36ef7fee5892b401cd932d2b3248b0bab16d34a4 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
 {