projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0447b8d
)
fix wrong type for poll.h nfds_t
author
Rich Felker
<dalias@aerifal.cx>
Sat, 1 Sep 2012 04:20:24 +0000
(
00:20
-0400)
committer
Rich 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
patch
|
blob
|
history
diff --git
a/include/poll.h
b/include/poll.h
index f868ab575c0df67bf6cbc0e80919d2987d20b345..36ef7fee5892b401cd932d2b3248b0bab16d34a4 100644
(file)
--- 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
{