c-decl.c (link_hash_hash): Avoid warning about casting pointer to integer of different size.

* c-decl.c (link_hash_hash): Avoid warning about casting pointer
	to integer of different size.

From-SVN: r69302
This commit is contained in:
Andreas Jaeger 2003-07-13 22:21:24 +02:00 committed by Andreas Jaeger
parent 34ed3bb00e
commit 9d4a30f2c1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-07-13 Andreas Jaeger <aj@suse.de>
* c-decl.c (link_hash_hash): Avoid warning about casting pointer
to integer of different size.
2003-07-13 Kazu Hirata <kazu@cs.umass.edu>
* combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0)

View file

@ -6794,7 +6794,7 @@ static hashval_t
link_hash_hash (const void *x_p)
{
tree x = (tree)x_p;
return (hashval_t) DECL_ASSEMBLER_NAME (x);
return (hashval_t) (long)DECL_ASSEMBLER_NAME (x);
}
static int