Skip to content

Commit ddd3c76

Browse files
halal-beefbinarymaster
authored andcommitted
[NFSD] Fix Clang 21 build problem on Linux
Guard modified 3rd-party code with `__REACTOS__`. Signed-off-by: Umer Uddin <umer.uddin@mentallysanemainliners.org>
1 parent 14cd62c commit ddd3c76

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎base/services/nfsd/acl.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,11 @@ static int map_dacl_2_nfs4acl(PACL acl, PSID sid, PSID gsid, nfsacl41 *nfs4_acl,
647647
}
648648
nfs4_acl->flag = 0;
649649
for (i = 0; i < acl->AceCount; i++) {
650+
#ifdef __REACTOS__
651+
status = GetAce(acl, i, (PVOID*)&ace);
652+
#else
650653
status = GetAce(acl, i, &ace);
654+
#endif
651655
if (!status) {
652656
status = GetLastError();
653657
eprintf("map_dacl_2_nfs4acl: GetAce failed with %d\n", status);

0 commit comments

Comments
 (0)