Avoid warning.

This commit is contained in:
Ulrich Drepper 2011-07-05 06:56:12 -04:00
parent 5e9b6af4a9
commit f15f1e45ba
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-07-05 Ulrich Drepper <drepper@gmail.com>
* nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
2011-07-02 Roland McGrath <roland@hack.frob.com>
* Makerules ($(common-objpfx)format.lds): Fail if result is empty.

View File

@ -374,7 +374,7 @@ nscd_getserv_r (const char *crit, size_t critlen, const char *proto,
if (retval != -1)
{
if (!alloca_aliases_len)
free (aliases_len);
free ((void *) aliases_len);
goto retry;
}
}