diff options
author | Theo Buehler <tb@openbsd.org> | 2023-12-12 23:20:44 +0100 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2024-03-03 15:32:50 -0600 |
commit | e2827e054a6d4ede3e1287402a1872cca29559fc (patch) | |
tree | e9274bceae469f436766592d9203d3efd2328865 /.github | |
parent | a31f8a95b395581ade4d9d71c9b90179d5bfa874 (diff) | |
download | portable-e2827e054a6d4ede3e1287402a1872cca29559fc.tar.gz portable-e2827e054a6d4ede3e1287402a1872cca29559fc.tar.bz2 portable-e2827e054a6d4ede3e1287402a1872cca29559fc.zip |
pthreads.h: avoid undefined behavior
You can't pass a function pointer through a void pointer.
So wrap the pthread callback in a struct.
Fixes #966
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions