From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: Re: xen fix radix tree build Date: Wed, 11 May 2011 13:56:50 +0200 Message-ID: <4DCA7982.7060700@amd.com> References: <4DCA5AD5.1080902@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4DCA5AD5.1080902@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 05/11/11 11:45, Christoph Egger wrote: > > Hi, > > the radix tree headers don't compile: > > xen/include/xen/radix-tree.h: In function 'radix_tree_int_to_ptr': > xen/include/xen/radix-tree.h:184: warning: comparison is always true due > to limited range of data type > xen/include/xen/radix-tree.h:184: warning: comparison is always true due > to limited range of data type > > An 'int' is too small to hold a pointer. > C99 says 'uintptr_t' or 'intptr_t' is correct. > > Christoph Changeset 23324 fixes this. Thanks Keir. Christoph -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85689 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632