Commit 963342ad by Richard Kenner

(HASHFUNCTION): Cast pointers to widest int type.

From-SVN: r4205
parent 7ca4e06e
......@@ -4747,7 +4747,9 @@ build_ivar_reference (id)
#define HASH_ALLOC_LIST_SIZE 170
#define ATTR_ALLOC_LIST_SIZE 170
#define SIZEHASHTABLE 257
#define HASHFUNCTION(key) ((int)key & 0x7fffffff) /* make positive */
/* make positive */
#define HASHFUNCTION(key) ((HOST_WIDE_INT) key & 0x7fffffff)
static void
hash_init ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment