mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
remove unnecessary cast for map_library return
the function already returns (void *)
This commit is contained in:
parent
bd3b9c4ca5
commit
b7a130e0b9
1 changed files with 1 additions and 1 deletions
|
@ -1831,7 +1831,7 @@ void __dls3(size_t *sp, size_t *auxv)
|
|||
dprintf(2, "%s: cannot load %s: %s\n", ldname, argv[0], strerror(errno));
|
||||
_exit(1);
|
||||
}
|
||||
Ehdr *ehdr = (void *)map_library(fd, &app);
|
||||
Ehdr *ehdr = map_library(fd, &app);
|
||||
if (!ehdr) {
|
||||
dprintf(2, "%s: %s: Not a valid dynamic program\n", ldname, argv[0]);
|
||||
_exit(1);
|
||||
|
|
Loading…
Add table
Reference in a new issue