git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Unix CM: Don't cast allocator returns
[openafs.git]
/
src
/
afs
/
UKERNEL
/
osi_groups.c
diff --git
a/src/afs/UKERNEL/osi_groups.c
b/src/afs/UKERNEL/osi_groups.c
index
f72fd61
..
c053e15
100644
(file)
--- a/
src/afs/UKERNEL/osi_groups.c
+++ b/
src/afs/UKERNEL/osi_groups.c
@@
-74,7
+74,7
@@
usr_setpag(struct usr_ucred **cred, afs_uint32 pagvalue, afs_uint32 * newpag,
AFS_STATCNT(setpag);
- gidset = (gid_t *) osi_AllocSmallSpace(AFS_SMALLOCSIZ);
+ gidset = osi_AllocSmallSpace(AFS_SMALLOCSIZ);
ngroups = afs_getgroups(*cred, gidset);
if (afs_get_pag_from_groups(gidset[0], gidset[1]) == NOPAG) {