summaryrefslogtreecommitdiff
path: root/gcc/splay-tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/splay-tree.h')
-rwxr-xr-xgcc/splay-tree.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/splay-tree.h b/gcc/splay-tree.h
index be367a3..50c1260 100755
--- a/gcc/splay-tree.h
+++ b/gcc/splay-tree.h
@@ -30,12 +30,14 @@ Boston, MA 02111-1307, USA. */
#ifndef _SPLAY_TREE_H
#define _SPLAY_TREE_H
+#include <stdint.h>
+
/* Use typedefs for the key and data types to facilitate changing
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 uintptr_t splay_tree_key;
+typedef uintptr_t splay_tree_value;
/* Forward declaration for a node in the tree. */
typedef struct splay_tree_node *splay_tree_node;