elf/dl-load.c: Avoid warning

This commit is contained in:
Marek Polacek 2011-10-07 11:00:13 -04:00 committed by Ulrich Drepper
parent 5a06e64333
commit fde56e5cc5
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-09-12 Marek Polacek <mpolacek@redhat.com>
* elf/dl-load.c (lose): Add cast to avoid warning.
2011-10-07 Ulrich Drepper <drepper@gmail.com>
* po/ca.po: Update from translation team.

View File

@ -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);