summaryrefslogtreecommitdiff
path: root/gas/hash.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-07-10 15:15:01 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-07-10 15:15:01 +0000
commit436e969ac9fa588a1e2408e3429358a6f399f771 (patch)
tree55cb947f5dd492e16b8e2844daa68c828d3958f2 /gas/hash.c
parent97bb27b2351b47a5b2e9a3f52b6797f08e0d8616 (diff)
downloadbinutils-redhat-436e969ac9fa588a1e2408e3429358a6f399f771.tar.gz
More warning fixes, and a tweak in tc-hppa.c to check constant
branch offsets a little more thoroughly.
Diffstat (limited to 'gas/hash.c')
-rw-r--r--gas/hash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/hash.c b/gas/hash.c
index 0f129fb3fa..14ff25ee9d 100644
--- a/gas/hash.c
+++ b/gas/hash.c
@@ -1,5 +1,5 @@
/* hash.c -- gas hash table code
- Copyright (C) 1987, 90, 91, 92, 93, 94, 95, 96, 98, 1999
+ Copyright (C) 1987, 90, 91, 92, 93, 94, 95, 96, 98, 99, 2000
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -222,7 +222,7 @@ hash_insert (table, key, value)
++table->insertions;
#endif
- p = obstack_alloc (&table->memory, sizeof *p);
+ p = (struct hash_entry *) obstack_alloc (&table->memory, sizeof(*p));
p->string = key;
p->hash = hash;
p->data = value;
@@ -262,7 +262,7 @@ hash_jam (table, key, value)
++table->insertions;
#endif
- p = obstack_alloc (&table->memory, sizeof *p);
+ p = (struct hash_entry *) obstack_alloc (&table->memory, sizeof(*p));
p->string = key;
p->hash = hash;
p->data = value;