diff options
author | Tim Potter <tpot@samba.org> | 2003-04-14 02:24:16 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-04-14 02:24:16 +0000 |
commit | e8a0a3d357d2aa714df44a57f2dd5103d8e1d02c (patch) | |
tree | 9cbb6f487254b8d2231af1151482cedd91425dc9 /source3 | |
parent | ae7414ed37782cf45ba750caaed0ebeceb0c09b3 (diff) | |
download | samba-e8a0a3d357d2aa714df44a57f2dd5103d8e1d02c.tar.gz samba-e8a0a3d357d2aa714df44a57f2dd5103d8e1d02c.tar.bz2 samba-e8a0a3d357d2aa714df44a57f2dd5103d8e1d02c.zip |
Fix a compiler warning.
(This used to be commit bf61aeef443de36e2212668878955519eb3bd95f)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/util_getent.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |