1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

Fix a compiler warning.

(This used to be commit bf61aeef44)
This commit is contained in:
Tim Potter 2003-04-14 02:24:16 +00:00
parent ae7414ed37
commit e8a0a3d357

View File

@ -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);