summaryrefslogtreecommitdiff
path: root/source3/groupdb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/groupdb')
-rw-r--r--source3/groupdb/mapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c
index 5b844e93d2..2f258ea724 100644
--- a/source3/groupdb/mapping.c
+++ b/source3/groupdb/mapping.c
@@ -670,7 +670,7 @@ BOOL get_uid_list_of_group(gid_t gid, uid_t **uid, int *num_uids)
gr = grp->gr_mem[0];
DEBUG(10, ("getting members\n"));
- while (gr && (*gr != (char)NULL)) {
+ while (gr && (*gr != (char)'\0')) {
(*uid)=Realloc((*uid), sizeof(uid_t)*(*num_uids+1));
if( (pwd=getpwnam(gr)) !=NULL) {