[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]