summaryrefslogtreecommitdiff
path: root/binutils/windres.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/windres.c')
-rw-r--r--binutils/windres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/windres.c b/binutils/windres.c
index e68a504cf3..98ce1652a0 100644
--- a/binutils/windres.c
+++ b/binutils/windres.c
@@ -157,7 +157,7 @@ res_init (void)
void *
res_alloc (rc_uint_type bytes)
{
- return (void *) obstack_alloc (&res_obstack, (size_t) bytes);
+ return obstack_alloc (&res_obstack, (size_t) bytes);
}
/* We also use an obstack to save memory used while writing out a set
@@ -178,7 +178,7 @@ reswr_init (void)
void *
reswr_alloc (rc_uint_type bytes)
{
- return (void *) obstack_alloc (&reswr_obstack, (size_t) bytes);
+ return obstack_alloc (&reswr_obstack, (size_t) bytes);
}
/* Open a file using the include directory search list. */