diff options
-rw-r--r-- | netfs/lib/entCache.impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netfs/lib/entCache.impl.h b/netfs/lib/entCache.impl.h index ad8fb33..6523d32 100644 --- a/netfs/lib/entCache.impl.h +++ b/netfs/lib/entCache.impl.h @@ -84,7 +84,7 @@ EntCache<Group>::fillCache() const noexcept while (getgrent_r(&grpbuf, buf.data(), buf.size(), &grp) == 0) { auto g = std::make_shared<Group>(grp->gr_gid, grp->gr_name); for (auto member = grp->gr_mem; *member; member++) { - if (auto ent = instance.getEntry((const gid_t &)*member)) { + if (auto ent = instance.getEntry(*member)) { g->members.insert(ent->id); } } |