diff options
author | bde <bde@FreeBSD.org> | 2002-07-11 18:06:09 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-07-11 18:06:09 +0000 |
commit | 26d377573f85cfd56e64eb2d02504fcb09dad440 (patch) | |
tree | 6d3599b11b5342a9e33fe69cf6d32c393454f66d /usr.sbin/mtree/misc.c | |
parent | 8a8f54cf28fbe1d04aa539e5a46b4cb9d71d6e33 (diff) | |
download | FreeBSD-src-26d377573f85cfd56e64eb2d02504fcb09dad440.zip FreeBSD-src-26d377573f85cfd56e64eb2d02504fcb09dad440.tar.gz |
Set NO_WERROR to ignore the following warning which is emitted on
alphas:
.../elf2aout.c:130: warning: cast increases required alignment of
target type
The warning is about casting ((char *)e + phoff) to a struct pointer,
where e is aligned but phoff might be garbage, so I think the warning
should be emitted on most machines (even on i386's, alignment checking
might be on) and the correct fix would involve validation phoff before
using it.
Diffstat (limited to 'usr.sbin/mtree/misc.c')
0 files changed, 0 insertions, 0 deletions