aboutsummaryrefslogtreecommitdiff
path: root/docs/code/default-loop/main.c
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@jrtc27.com>2022-01-13 05:20:14 +0000
committerGitHub <noreply@github.com>2022-01-13 06:20:14 +0100
commit2fbfa0358b3bb920ddd1c2747d4887b35b9ac161 (patch)
tree3479928e1dfc0494916c860b84332a841892251f /docs/code/default-loop/main.c
parentc8cbdbd2c47863fcb081415b5cade536bd4f7250 (diff)
downloadlibuv-2fbfa0358b3bb920ddd1c2747d4887b35b9ac161.tar.gz
libuv-2fbfa0358b3bb920ddd1c2747d4887b35b9ac161.zip
unix: fix STATIC_ASSERT to check what it means to check (#3417)
Currently it's checking pointers to the uv_buf_t fields match the size of the iovec fields. This is true on traditional architectures where pointers are just machine word-sized integers, but not on CHERI, and thus Arm's Morello prototype, where pointers contain additional metadata (including bounds and permissions). Drop the & to fix this.
Diffstat (limited to 'docs/code/default-loop/main.c')
0 files changed, 0 insertions, 0 deletions