Hallo,
There is another point in libiberty, which has a problem with
integer-values and pointer sizes. This small patch should fix.
ChangeLog:
2007-03-06 Kai Tietz <[EMAIL PROTECTED]>
* splay-tree.h (splay_tree_key): type declared as ptrdiff_t
(splay_tree_value): Ditto
Patch
Regards,
i.A. Kai Tietz
----------------------------------------
Kai Tietz - Software engineering
OneVision Software Entwicklungs GmbH & Co KG
Dr.-Leo-Ritter-Str. 9, 93049 Regensburg, Germany
Phone: +49-941-78004-0
FAX: +49-941-78004-489
WWW: http://www.OneVision.com
Index: splay-tree.h
===================================================================
--- splay-tree.h (revision 122691)
+++ splay-tree.h (working copy)
@@ -44,8 +44,8 @@
these types, if necessary. These types should be sufficiently wide
that any pointer or scalar can be cast to these types, and then
cast back, without loss of precision. */
-typedef unsigned long int splay_tree_key;
-typedef unsigned long int splay_tree_value;
+typedef ptrdiff_t splay_tree_key;
+typedef ptrdiff_t splay_tree_value;
/* Forward declaration for a node in the tree. */
typedef struct splay_tree_node_s *splay_tree_node;
=