diff options
author | Alan Modra <amodra@gmail.com> | 2008-10-21 00:26:17 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-10-21 00:26:17 +0000 |
commit | 78aff5a5271ab14960fec98805bd1c295cab6d8d (patch) | |
tree | 43f6e4e4a3f01abe61b8bfad5fdada2d6de8050d /gas/frags.c | |
parent | 1631ca86c3bde3a7b7089ade915f9aeea47b6034 (diff) | |
download | gdb-78aff5a5271ab14960fec98805bd1c295cab6d8d.zip gdb-78aff5a5271ab14960fec98805bd1c295cab6d8d.tar.gz gdb-78aff5a5271ab14960fec98805bd1c295cab6d8d.tar.bz2 |
Remove unnecessary casts on obstack_alloc invocations.
Diffstat (limited to 'gas/frags.c')
-rw-r--r-- | gas/frags.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/frags.c b/gas/frags.c index 052e76f..1cad6a7 100644 --- a/gas/frags.c +++ b/gas/frags.c @@ -69,7 +69,7 @@ frag_alloc (struct obstack *ob) (void) obstack_alloc (ob, 0); oalign = obstack_alignment_mask (ob); obstack_alignment_mask (ob) = 0; - ptr = (fragS *) obstack_alloc (ob, SIZEOF_STRUCT_FRAG); + ptr = obstack_alloc (ob, SIZEOF_STRUCT_FRAG); obstack_alignment_mask (ob) = oalign; memset (ptr, 0, SIZEOF_STRUCT_FRAG); return ptr; |