summaryrefslogtreecommitdiffstats
path: root/compat_getsubopt.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-12-20 21:41:11 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-12-20 21:41:11 +0000
commit870872aa8fa9489f2f3b7be0026776ee2a54dad0 (patch)
tree088e810a0353ba103aa705d308e8832daf968923 /compat_getsubopt.c
parent8b085aba08a98619780dc5406fca3cf10bb7cdb6 (diff)
downloadmandoc-870872aa8fa9489f2f3b7be0026776ee2a54dad0.tar.gz
Do not cast void pointers to pointers requiring alignment.
This makes mandocdb(8)/apropos(1) work on strict alignment architectures. Basic way to fix this confirmed by deraadt@ and kettenis@, thanks. ok kristaps@ This now works on both sparc64 and i386, but note that the binary database format is still machine-dependent.
Diffstat (limited to 'compat_getsubopt.c')
0 files changed, 0 insertions, 0 deletions