From e8a0a3d357d2aa714df44a57f2dd5103d8e1d02c Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 14 Apr 2003 02:24:16 +0000 Subject: Fix a compiler warning. (This used to be commit bf61aeef443de36e2212668878955519eb3bd95f) --- source3/lib/util_getent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib') diff --git a/source3/lib/util_getent.c b/source3/lib/util_getent.c index ef01dd5947..32641dbf83 100644 --- a/source3/lib/util_getent.c +++ b/source3/lib/util_getent.c @@ -228,7 +228,7 @@ static struct sys_userlist *add_members_to_userlist(struct sys_userlist *list_he free_userlist(list_head); return NULL; } - entry->unix_name = strdup(grp->gr_mem[i]); + entry->unix_name = (char *)strdup(grp->gr_mem[i]); if (entry->unix_name == NULL) { SAFE_FREE(entry); free_userlist(list_head); -- cgit