aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-07-13 22:21:24 +0200
committerAndreas Jaeger <aj@gcc.gnu.org>2003-07-13 22:21:24 +0200
commit9d4a30f2c1fa6555a24c0aa5ccd7551e0e5f8165 (patch)
tree98f6a8a172836396d0905a547186487f753eebf8 /gcc/c-decl.c
parent34ed3bb00e99bb22e24b3dab90f5923cad8483a5 (diff)
downloadgcc-9d4a30f2c1fa6555a24c0aa5ccd7551e0e5f8165.zip
gcc-9d4a30f2c1fa6555a24c0aa5ccd7551e0e5f8165.tar.gz
gcc-9d4a30f2c1fa6555a24c0aa5ccd7551e0e5f8165.tar.bz2
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
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 24f4637..80e6b68 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -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