xen fix radix tree build
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
Signature · 6 lines
---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
Quoted 11 lines · Christoph Egger
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 typexen/include/xen/radix-tree.h:184: warning: comparison is always true due to limited range of data type
Quoted 4 lines
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
Signature · 6 lines
---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