summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/chroot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chroot.c b/src/chroot.c
index a623f883a..fff0b533d 100644
--- a/src/chroot.c
+++ b/src/chroot.c
@@ -116,7 +116,8 @@ parse_additional_groups (char const *groups, GETGROUPS_T **pgids,
if (g != NULL)
value = g->gr_gid;
}
- g = (struct group *)! NULL; /* We've got a group from the number. */
+ /* Flag that we've got a group from the number. */
+ g = (struct group *) (intptr_t) ! NULL;
}
else
{