aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorMarek Polacek <mpolacek@redhat.com>2011-10-07 11:00:13 -0400
committerUlrich Drepper <drepper@gmail.com>2011-10-07 11:00:13 -0400
commitfde56e5cc5011d8c0de39290af0e76d884d07624 (patch)
tree90d54dc040c9d88e6281410cd6de4867d17330e5 /elf
parent5a06e643335ca2f7a2f92ae54962d59771cb074b (diff)
downloadglibc-fde56e5cc5011d8c0de39290af0e76d884d07624.zip
glibc-fde56e5cc5011d8c0de39290af0e76d884d07624.tar.gz
glibc-fde56e5cc5011d8c0de39290af0e76d884d07624.tar.bz2
elf/dl-load.c: Avoid warning
Diffstat (limited to 'elf')
-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 b8a2659..f3717ea 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);