aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-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