Re: [Qemu-devel] [PATCH] Fix conversions from pointer to int and vice versa

2011-03-20 Thread Blue Swirl
Thanks, applied. On Sun, Mar 20, 2011 at 2:07 PM, Stefan Weil wrote: > Am 24.02.2011 20:57, schrieb Stefan Weil: >> >> Am 24.02.2011 11:11, schrieb Markus Armbruster: >>> >>> Kevin Wolf writes: Am 24.02.2011 08:21, schrieb Markus Armbruster: > > Stefan Weil writes: >>

Re: [Qemu-devel] [PATCH] Fix conversions from pointer to int and vice versa

2011-03-20 Thread Stefan Weil
Am 24.02.2011 20:57, schrieb Stefan Weil: Am 24.02.2011 11:11, schrieb Markus Armbruster: Kevin Wolf writes: Am 24.02.2011 08:21, schrieb Markus Armbruster: Stefan Weil writes: Here the int values fds[0], sigfd, s, sock and fd are converted to void pointers which are later converted back to

Re: [Qemu-devel] [PATCH] Fix conversions from pointer to int and vice versa

2011-02-24 Thread Stefan Weil
Am 24.02.2011 11:11, schrieb Markus Armbruster: Kevin Wolf writes: Am 24.02.2011 08:21, schrieb Markus Armbruster: Stefan Weil writes: 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 al

Re: [Qemu-devel] [PATCH] Fix conversions from pointer to int and vice versa

2011-02-24 Thread Markus Armbruster
Kevin Wolf writes: > Am 24.02.2011 08:21, schrieb Markus Armbruster: >> Stefan Weil writes: >> >>> 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

Re: [Qemu-devel] [PATCH] Fix conversions from pointer to int and vice versa

2011-02-24 Thread Kevin Wolf
Am 24.02.2011 08:21, schrieb Markus Armbruster: > Stefan Weil writes: > >> 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 ar

Re: [Qemu-devel] [PATCH] Fix conversions from pointer to int and vice versa

2011-02-23 Thread Markus Armbruster
Stefan Weil writes: > 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(voi

[Qemu-devel] [PATCH] Fix conversions from pointer to int and vice versa

2011-02-23 Thread Stefan Weil
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 Wei