aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-load.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-load.c')
-rw-r--r--elf/dl-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index b8a2659af1..f3717ea58c 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -889,7 +889,7 @@ lose (int code, int fd, const char *name, char *realname, struct link_map *l,
if (fd != -1)
(void) __close (fd);
if (l != NULL && l->l_origin != (char *) -1l)
- free (l->l_origin);
+ free ((char *) l->l_origin);
free (l);
free (realname);