Commit 12a6403
authored
[wasm64] Keep nfds_t 32-bit. NFC (#27115)
Use unsigned int for nfds_t instead of unsigned long.
The number of file descriptors is already limited to 4096 (see
`WASMFS_FD_MAX` or `FS.MAX_OPEN_FDS`), so a 64-bit nfds_t provides
no benefit.
Split out from #27108.1 parent 065992a commit 12a6403
2 files changed
Lines changed: 3 additions & 2 deletions
File tree
- system/lib
- compiler-rt/lib/sanitizer_common
- libc/musl/include
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
869 | 869 | | |
870 | 870 | | |
871 | 871 | | |
872 | | - | |
| 872 | + | |
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
0 commit comments