[PATCH v2] stdio: fix nano-vfprintf pointer formating with long pointers

Corinna Vinschen vinschen@redhat.com
Thu Nov 20 14:05:00 GMT 2014


On Nov 20 05:41, Peter A. Bigot wrote:
> On the MSP430 when building with -mlarge sizeof(void*) is larger than
> sizeof(int), resulting in an offset error extracting arguments to format
> strings that include %p.
> 
> stdio/ChangeLog:
> 2014-11-19  Peter A. Bigot  <...>
> 
>         * libc/stdio/nano-vfprintf_i.c (_printf_i): Use LONGINT when void* is
>         larger than an int.

Patch applied.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20141120/62514f92/attachment.sig>


More information about the Newlib mailing list