From 78aff5a5271ab14960fec98805bd1c295cab6d8d Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 21 Oct 2008 00:26:17 +0000 Subject: Remove unnecessary casts on obstack_alloc invocations. --- gas/frags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/frags.c') 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; -- cgit v1.1