This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] libctf: eschew %zi format specifier
- From: jose dot marchesi at oracle dot com (Jose E. Marchesi)
- To: Nick Alcock <nick dot alcock at oracle dot com>
- Cc: binutils at sourceware dot org, jose dot marches at oracle dot com, tom dot tromey at adacore dot com
- Date: Wed, 05 Jun 2019 15:13:48 +0200
- Subject: Re: [PATCH] libctf: eschew %zi format specifier
- References: <20190605123826.422222-1-nick.alcock@oracle.com>
Hi Nick.
Too many platforms don't support it, and we can always safely use %lu or
%li anyway, because the only uses are in debugging output.
libctf/
* ctf-archive.c (ctf_arc_write): Eschew %zi format specifier.
(ctf_arc_open_by_offset): Likewise.
* ctf-create.c (ctf_add_type): Likewise.
Pushed on your behalf.
Salud!