mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 18:14:13 +08:00
bfd: Remove use of void pointer arithmetic
This is not valid in ISO C. Instead, use a pointer to bfd_byte. * peicode.h (pe_bfd_object_p): Remove use of void pointer arithmetic.
This commit is contained in:
parent
88b3223704
commit
b6fca8a3d5
@ -1474,7 +1474,7 @@ pe_bfd_object_p (bfd * abfd)
|
||||
if (opt_hdr_size != 0)
|
||||
{
|
||||
bfd_size_type amt = opt_hdr_size;
|
||||
void * opthdr;
|
||||
bfd_byte * opthdr;
|
||||
|
||||
/* PR 17521 file: 230-131433-0.004. */
|
||||
if (amt < sizeof (PEAOUTHDR))
|
||||
|
Loading…
Reference in New Issue
Block a user