From: Andreas Jaeger Date: Sun, 13 Jul 2003 20:21:24 +0000 (+0200) Subject: c-decl.c (link_hash_hash): Avoid warning about casting pointer to integer of differen... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d4a30f2c1fa6555a24c0aa5ccd7551e0e5f8165;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0da79711c1e..59dad2c76b6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-13 Andreas Jaeger + + * c-decl.c (link_hash_hash): Avoid warning about casting pointer + to integer of different size. + 2003-07-13 Kazu Hirata * combine.c (simplify_comparison): Convert (ne (and (not X) 1) 0) diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 24f46371056..80e6b68fa2e 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