Commit 9d4a30f2 by Andreas Jaeger Committed by Andreas Jaeger

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
parent 34ed3bb0
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)
......
......@@ -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
......
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