diff options
author | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-25 15:48:44 +0000 |
---|---|---|
committer | mrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-25 15:48:44 +0000 |
commit | 737a47566acbcc938570ea97f38f2d145b7bca0b (patch) | |
tree | 1878d5f8b68c6bc6a43db5ca13f266f56142d990 /gcc/objc | |
parent | e7f0db54e6cd5f70135783ac6a8bbf5a39227f02 (diff) | |
download | gcc-737a47566acbcc938570ea97f38f2d145b7bca0b.tar.gz |
* objc-act.c (volatilized_hash): Avoid warnings on 64-bit
machines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100155 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 9059696c78a..a36cce89cd6 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 0d27a248c47..95a848924ed 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 |