From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iy71H-0005kd-P4 for qemu-devel@nongnu.org; Fri, 30 Nov 2007 09:39:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iy71D-0005iw-LC for qemu-devel@nongnu.org; Fri, 30 Nov 2007 09:39:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iy71D-0005it-Fg for qemu-devel@nongnu.org; Fri, 30 Nov 2007 09:39:03 -0500 Received: from smtp.citrix.com ([66.165.176.89]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iy71C-0000WQ-RV for qemu-devel@nongnu.org; Fri, 30 Nov 2007 09:39:03 -0500 Received: from implementation.famille.thibault.fr (dhcp-16-192.uk.xensource.com [172.31.16.192]) by smtp01.ad.xensource.com (8.13.1/8.13.1) with ESMTP id lAUEcxcV001012 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 30 Nov 2007 06:39:01 -0800 Received: from samy by implementation.famille.thibault.fr with local (Exim 4.68) (envelope-from ) id 1Iy719-0002ZZ-3a for qemu-devel@nongnu.org; Fri, 30 Nov 2007 15:38:59 +0100 Date: Fri, 30 Nov 2007 14:38:59 +0000 From: Samuel Thibault Subject: Re: [Qemu-devel] [PATCH] fix gcc4 compile warnings Message-ID: <20071130143859.GE4211@implementation.uk.xensource.com> References: <474F5223.1000202@andrep.de> <475019BF.4040906@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org andrzej zaborowski, le Fri 30 Nov 2007 15:30:40 +0100, a écrit : > I'm not sure why you get a warning here and I'm unable to run a build > at the moment. A void * should be able to store some (unknown size) > integer regardless of the platform. No exactly. On 32bit platforms, void * are 32bits and long longs are 64bits. The maximum integer storage is intmax_t. Samuel