diff options
author | Jessica Clarke <jrtc27@jrtc27.com> | 2022-01-13 05:20:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 06:20:14 +0100 |
commit | 2fbfa0358b3bb920ddd1c2747d4887b35b9ac161 (patch) | |
tree | 3479928e1dfc0494916c860b84332a841892251f /docs/code/default-loop/main.c | |
parent | c8cbdbd2c47863fcb081415b5cade536bd4f7250 (diff) | |
download | libuv-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