diff options
| author | Michael Forney <mforney@mforney.org> | 2022-02-10 14:11:23 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2022-02-10 15:30:43 -0800 |
| commit | 020a33da8d9de01aadec35f5f4b3e2d317eac71b (patch) | |
| tree | 8a8faf18b14d512fcc0916155653db8074d5f03f /pkg/binutils/patch/0003-Avoid-void-pointer-arithmetic.patch | |
| parent | a141473246997fce369599e1a8731e0f4bd32147 (diff) | |
binutils: Update to 2.38
Diffstat (limited to 'pkg/binutils/patch/0003-Avoid-void-pointer-arithmetic.patch')
| -rw-r--r-- | pkg/binutils/patch/0003-Avoid-void-pointer-arithmetic.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/pkg/binutils/patch/0003-Avoid-void-pointer-arithmetic.patch b/pkg/binutils/patch/0003-Avoid-void-pointer-arithmetic.patch deleted file mode 100644 index 5b3dd3a1..00000000 --- a/pkg/binutils/patch/0003-Avoid-void-pointer-arithmetic.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 412191da499f4f96dd9138a2868b16947b8d8f70 Mon Sep 17 00:00:00 2001 -From: Michael Forney <mforney@mforney.org> -Date: Mon, 19 Jul 2021 10:31:05 -0700 -Subject: [PATCH] Avoid void pointer arithmetic - -This is not strictly allowed in ISO C, which requires the pointed-to -type to be a complete object type. ---- - bfd/peicode.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/bfd/peicode.h b/bfd/peicode.h -index c84b135e1eb..41955975cdc 100644 ---- a/bfd/peicode.h -+++ b/bfd/peicode.h -@@ -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)) --- -2.32.0 - |
