This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, AArch64] Fix pointer assignment to param_block_t variables


On Jun 27 14:47, Yufeng Zhang wrote:
> Hi,
> 
> In the AArch64 libgloss backend, param_block_t is the base type for
> the Angle API block parameter and is defined as "long long".
> Pointers are assigned to variables of this type via explicit
> casting, i.e. (param_block_t), which is OK when the pointer is
> 64-bit size but wrong when we have 32-bit pointers.
> 
> This patch replace the incorrect casting with a cpp macro which
> casts a pointer properly.
> 
> OK to go upstream?

Patch applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]