[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] Fix conversions from pointer to int and vice ve
From: |
Juan Quintela |
Subject: |
[Qemu-devel] Re: [PATCH] Fix conversions from pointer to int and vice versa |
Date: |
Wed, 23 Feb 2011 21:03:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Stefan Weil <address@hidden> wrote:
> Here the int values fds[0], sigfd, s, sock and fd are converted
> to void pointers which are later converted back to an int value.
>
> These conversions should always use intptr_t instead of unsigned long.
>
> They are needed for environments where sizeof(long) != sizeof(void *).
>
> Signed-off-by: Stefan Weil <address@hidden>
migration-{tcp,unix}.c conflict with my series.
If Anthony don't pick them before my next respin, I will include that
two files.
Thanks, Juan.