diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-12-20 21:41:11 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-12-20 21:41:11 +0000 |
commit | 870872aa8fa9489f2f3b7be0026776ee2a54dad0 (patch) | |
tree | 088e810a0353ba103aa705d308e8832daf968923 /st.c | |
parent | 8b085aba08a98619780dc5406fca3cf10bb7cdb6 (diff) | |
download | mandoc-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 'st.c')
0 files changed, 0 insertions, 0 deletions