about summary refs log tree commit diff
path: root/nscd
diff options
context:
space:
mode:
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;
 	}
     }