aboutsummaryrefslogtreecommitdiff
path: root/libiberty/hashtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/hashtab.c')
-rw-r--r--libiberty/hashtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/hashtab.c b/libiberty/hashtab.c
index 0c0b9a8..f3ee301 100644
--- a/libiberty/hashtab.c
+++ b/libiberty/hashtab.c
@@ -104,7 +104,7 @@ static hashval_t
hash_pointer (p)
const void *p;
{
- return (hashval_t) p;
+ return (hashval_t) ((long)p >> 3);
}
/* Returns non-zero if P1 and P2 are equal. */