mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
Avoid warning.
This commit is contained in:
parent
5e9b6af4a9
commit
f15f1e45ba
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user