about summary refs log tree commit diff
path: root/nscd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-07-05 06:56:12 -0400
committerUlrich Drepper <drepper@gmail.com>2011-07-05 06:56:12 -0400
commitf15f1e45ba281568cb77d4e10de574ee2b86f2a6 (patch)
tree21c270a3ba62ef60125c8a0d4b311df25485c678 /nscd
parent5e9b6af4a9bb2aad0e1929e88b52009d14cb6831 (diff)
downloadglibc-f15f1e45ba281568cb77d4e10de574ee2b86f2a6.tar.gz
glibc-f15f1e45ba281568cb77d4e10de574ee2b86f2a6.tar.xz
glibc-f15f1e45ba281568cb77d4e10de574ee2b86f2a6.zip
Avoid warning.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/nscd_getserv_r.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/nscd_getserv_r.c b/nscd/nscd_getserv_r.c
index f9ef0565d8..3b7dc4b620 100644
--- a/nscd/nscd_getserv_r.c
+++ b/nscd/nscd_getserv_r.c
@@ -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;
 	}
     }