mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 16:30:53 -05:00
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.
|
||
|---|---|---|
| .. | ||
| elf2aout.c | ||
| Makefile | ||