From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=43503 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PsXFZ-0006lp-E1 for qemu-devel@nongnu.org; Thu, 24 Feb 2011 04:12:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PsXFY-0003KX-N4 for qemu-devel@nongnu.org; Thu, 24 Feb 2011 04:12:41 -0500 Received: from mail-ey0-f173.google.com ([209.85.215.173]:48075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PsXFY-0003KQ-Hd for qemu-devel@nongnu.org; Thu, 24 Feb 2011 04:12:40 -0500 Received: by eyb6 with SMTP id 6so110009eyb.4 for ; Thu, 24 Feb 2011 01:12:39 -0800 (PST) Sender: Paolo Bonzini Message-ID: <4D660FD7.9050402@redhat.com> Date: Thu, 24 Feb 2011 08:59:19 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1298484556-5517-1-git-send-email-weil@mail.berlios.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] Fix conversions from pointer to int and vice versa List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Anthony Liguori , qemu-devel@nongnu.org On 02/24/2011 08:21 AM, Markus Armbruster wrote: > Why can't you cast straight to void *? "warning: cast from pointer to integer of different size", and similarly in the other direction.