[patch] Avoid bogus pointer->int cast

Eric Blake eblake@redhat.com
Fri Jul 20 00:30:00 GMT 2012


On 07/17/2012 11:21 AM, Ralf Corsepius wrote:
> Hi,
> 
> The patch below addresses a (minor) bug in readdir.c. It replaces a
> (bogus) pointer->int cast with a pointer->intptr_t cast.

Did you forget the patch?

> 
> [pointer->int casts are invalid on many architectures.]
> 
> OK to commit? If nobody objects, I am going to commit this patch later
> this week.

Probably okay, but I'd still like to see it first.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/newlib/attachments/20120720/d2cc6003/attachment.sig>


More information about the Newlib mailing list