[libvirt] [PATCH libvirt 5/6] Cast pointer to int using intptr_t

Eric Blake eblake at redhat.com
Thu Jan 26 01:02:12 UTC 2012


On 01/25/2012 01:13 PM, Marc-André Lureau wrote:
> Fix a few warnings with mingw64 x86_64.
> ---
>  src/util/logging.c       |    8 ++++----
>  src/util/threads-win32.c |    2 +-
>  2 files changed, 5 insertions(+), 5 deletions(-)

ACK and pushed.

What a shame that (intptr_t) is the only portable type for converting
between void* and integers; but it's the right thing to do.

-- 
Eric Blake   eblake at 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://listman.redhat.com/archives/libvir-list/attachments/20120125/9cc82b20/attachment-0001.sig>


More information about the libvir-list mailing list