Received: from [140.186.70.92] (port=43633 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PsKyX-0005xy-L9 for qemu-devel@nongnu.org; Wed, 23 Feb 2011 15:06:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PsKxW-0004DY-Cp for qemu-devel@nongnu.org; Wed, 23 Feb 2011 15:05:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PsKxV-0004DN-UM for qemu-devel@nongnu.org; Wed, 23 Feb 2011 15:05:14 -0500 From: Juan Quintela In-Reply-To: <1298484556-5517-1-git-send-email-weil@mail.berlios.de> (Stefan Weil's message of "Wed, 23 Feb 2011 19:09:16 +0100") References: <1298484556-5517-1-git-send-email-weil@mail.berlios.de> Date: Wed, 23 Feb 2011 21:03:43 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Re: [PATCH] Fix conversions from pointer to int and vice versa Reply-To: quintela@redhat.com List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Anthony Liguori , qemu-devel@nongnu.org Stefan Weil 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 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.