diff options
author | Alan Modra <amodra@bigpond.net.au> | 2008-10-21 00:26:17 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2008-10-21 00:26:17 +0000 |
commit | c6a4a1d19f885d8916691785566a5efd2c5e3add (patch) | |
tree | f043df48e86e3b2f6096e70c7b4d0f44e94da8e6 /binutils/windres.c | |
parent | 2333c38fd379076338edc05d2bc75fc7d53f6d02 (diff) | |
download | binutils-redhat-c6a4a1d19f885d8916691785566a5efd2c5e3add.tar.gz |
Remove unnecessary casts on obstack_alloc invocations.
Diffstat (limited to 'binutils/windres.c')
-rw-r--r-- | binutils/windres.c | 4 |
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. */ |