Cast alignment warnings
Russ Allbery
eagle at eyrie.org
Sun May 24 15:45:42 UTC 2015
Julien ÉLIE <julien at trigofacile.com> writes:
> Should
> ovblock = (OVBLOCK *)((char *)addr + pagefudge);
> just be changed to
> ovblock = (void *)((char *)addr + pagefudge);
> in buffindexed/buffindexed.c:1667?
> It suppresses the warning.
Yup, that looks fine.
--
Russ Allbery (eagle at eyrie.org) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers
mailing list