OSDN Git Service

* objc-act.c (volatilized_hash): Avoid warnings on 64-bit
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 May 2005 15:48:44 +0000 (15:48 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 May 2005 15:48:44 +0000 (15:48 +0000)
        machines.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100155 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/objc/ChangeLog
gcc/objc/objc-act.c

index 9059696..a36cce8 100644 (file)
@@ -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.
index 0d27a24..95a8489 100644 (file)
@@ -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