From 1d2da2e1ce88da471b4b0cfc2ddc3ed49eb0cc51 Mon Sep 17 00:00:00 2001 From: Horst von Brand Date: Tue, 16 May 2000 16:59:20 +0000 Subject: hashtab.c (hash_pointer): Delete low-order bits which are probably zero, also eliminate a warning on alpha. * hashtab.c (hash_pointer): Delete low-order bits which are probably zero, also eliminate a warning on alpha. From-SVN: r33934 --- libiberty/hashtab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libiberty/hashtab.c') 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. */ -- cgit v1.1