mirror of git://git.musl-libc.org/musl
remove unnecessary cast for map_library return
the function already returns (void *)
This commit is contained in:
parent
bd3b9c4ca5
commit
b7a130e0b9
|
@ -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…
Reference in New Issue