aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorMike Stump <mrs@mrs.kithrup.com>2005-05-25 15:48:44 +0000
committerMike Stump <mrs@gcc.gnu.org>2005-05-25 15:48:44 +0000
commit14d63fb68e2f60dbb0146ad1618c173a0f2c3078 (patch)
tree1878d5f8b68c6bc6a43db5ca13f266f56142d990 /gcc/objc
parent81043a94e942985760486076a4c880a57d71ae8f (diff)
downloadgcc-14d63fb68e2f60dbb0146ad1618c173a0f2c3078.zip
gcc-14d63fb68e2f60dbb0146ad1618c173a0f2c3078.tar.gz
gcc-14d63fb68e2f60dbb0146ad1618c173a0f2c3078.tar.bz2
objc-act.c (volatilized_hash): Avoid warnings on 64-bit machines.
* objc-act.c (volatilized_hash): Avoid warnings on 64-bit machines. From-SVN: r100155
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/ChangeLog5
-rw-r--r--gcc/objc/objc-act.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 9059696..a36cce8 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,8 @@
+2005-05-25 Mike Stump <mrs@mrs.kithrup.com>
+
+ * objc-act.c (volatilized_hash): Avoid warnings on 64-bit
+ machines.
+
2005-05-24 Ziemowit Laski <zlaski@apple.com>
* objc-act.c (objc_build_struct): New function.
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 0d27a24..95a8489 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -1247,7 +1247,7 @@ volatilized_hash (const void *ptr)
{
tree typ = ((struct volatilized_type *)ptr)->type;
- return (hashval_t) typ;
+ return htab_hash_pointer(typ);
}
static int