This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 25/27] [AARCH64] Fix ILP32 warning
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Yury Norov <ynorov at caviumnetworks dot com>
- Cc: <libc-alpha at sourceware dot org>, <linux-kernel at vger dot kernel dot org>, <arnd at arndb dot de>, <catalin dot marinas at arm dot com>, <marcus dot shawcroft at arm dot com>, <philb at gnu dot org>, <davem at davemloft dot net>, <szabolcs dot nagy at arm dot com>, <maxim dot kuvyrkov at linaro dot org>, <pinskia at gmail dot com>, Andrew Pinski <apinski at cavium dot com>
- Date: Tue, 21 Jun 2016 10:44:47 +0000
- Subject: Re: [PATCH 25/27] [AARCH64] Fix ILP32 warning
- Authentication-results: sourceware.org; auth=none
- References: <1466485631-3532-1-git-send-email-ynorov at caviumnetworks dot com> <1466485631-3532-27-git-send-email-ynorov at caviumnetworks dot com>
On Tue, 21 Jun 2016, Yury Norov wrote:
> #define _JMPBUF_CFA_UNWINDS_ADJ(jmpbuf, context, adj) \
> - _JMPBUF_UNWINDS_ADJ (jmpbuf, (void *) _Unwind_GetCFA (context), adj)
> + _JMPBUF_UNWINDS_ADJ (jmpbuf, (void *)(size_t) _Unwind_GetCFA (context), adj)
glibc uses spaces in casts, so "(void *) (size_t)".
--
Joseph S. Myers
joseph@codesourcery.com