[Patch, AArch64] Fix pointer assignment to param_block_t variables
Corinna Vinschen
vinschen@redhat.com
Fri Jun 28 09:35:00 GMT 2013
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
More information about the Newlib
mailing list