diff options
author | Jim Meyering <jim@meyering.net> | 2003-04-11 10:51:56 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-04-11 10:51:56 +0000 |
commit | 6c93bdeeaa8a322b76c48ffc17a2205f6c3f5271 (patch) | |
tree | b96ee698e2bd8020d500f01cbf6d6efa743b8a69 /src/id.c | |
parent | eaff43d5a8173b9c576dadb8d123e3348fb1b809 (diff) | |
download | coreutils-6c93bdeeaa8a322b76c48ffc17a2205f6c3f5271.tar.xz |
Remove anachronistic casts of xmalloc,
xrealloc, and xcalloc return values and of xrealloc's first argument.
Diffstat (limited to 'src/id.c')
-rw-r--r-- | src/id.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -262,7 +262,7 @@ xgetgroups (const char *username, gid_t gid, int *n_groups, max_n_groups = getugroups (0, NULL, username, gid); /* Add 1 just in case max_n_groups is zero. */ - g = (GETGROUPS_T *) xmalloc (max_n_groups * sizeof (GETGROUPS_T) + 1); + g = xmalloc (max_n_groups * sizeof (GETGROUPS_T) + 1); if (username == 0) ng = getgroups (max_n_groups, g); else |