]> granicus.if.org Git - musl/commit
fix type of extended argument array to pselect6 syscall
authorRich Felker <dalias@aerifal.cx>
Tue, 27 May 2014 01:26:46 +0000 (21:26 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 27 May 2014 01:26:46 +0000 (21:26 -0400)
commit4ef04a27c7cf81db13316ceb6e840527977a7787
tree89d3f33b263ea8701bd612211d6e304681213f54
parent594c827a22124ae550b9a877b8188e0898dff8db
fix type of extended argument array to pselect6 syscall

this only matters on x32 (and perhaps future 32-on-64 abis for other
archs); otherwise the type is long anyway. the cast through uintptr_t
prevents nonsensical "sign extension" of pointers, and follows the
principle that uintptr_t is the canonical integer type to which
pointer conversion is safe.
src/select/pselect.c