From: Alan Modra <amodra@gmail.com>
To: binutils@sourceware.org
Subject: gas: remove use of PTR
Date: Tue, 10 May 2022 11:19:37 +0930 [thread overview]
Message-ID: <YnnEsUxLRefYHm8x@squeak.grove.modra.org> (raw)
In-Reply-To: <YnnEjDjIvLlJoOd7@squeak.grove.modra.org>
* config/obj-evax.c (evax_symbol_new_hook): Don't cast to PTR.
diff --git a/gas/config/obj-evax.c b/gas/config/obj-evax.c
index 717d1fa5933..2f6f9887684 100644
--- a/gas/config/obj-evax.c
+++ b/gas/config/obj-evax.c
@@ -87,7 +87,7 @@ evax_symbol_new_hook (symbolS *sym)
udata->enbsym = NULL;
udata->origname = xstrdup (S_GET_NAME (sym));
udata->lkindex = 0;
- symbol_get_bfdsym(sym)->udata.p = (PTR) udata;
+ symbol_get_bfdsym(sym)->udata.p = udata;
}
void
--
Alan Modra
Australia Development Lab, IBM
next prev parent reply other threads:[~2022-05-10 1:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-09 8:49 Do we support Not ANSI C compiler? Martin Liška
2022-05-09 9:22 ` Pedro Alves
2022-05-09 12:01 ` Martin Liška
2022-05-10 1:44 ` Alan Modra
2022-05-10 1:47 ` bfd: remove use of PTR Alan Modra
2022-05-10 1:49 ` opcodes: " Alan Modra
2022-05-10 1:49 ` Alan Modra [this message]
2022-05-10 1:50 ` gprof: " Alan Modra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YnnEsUxLRefYHm8x@squeak.grove.modra.org \
--to=amodra@gmail.com \
--cc=binutils@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).