mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
fusefs: fix an alignment issue in the tests on arm
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
bda39894c5
commit
b7774b82cb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/fuse2/; revision=348314
@ -333,7 +333,7 @@ void FuseTest::expect_readdir(uint64_t ino, uint64_t off,
|
||||
}
|
||||
out.header.len += entsize;
|
||||
fde = (struct fuse_dirent*)
|
||||
((long*)fde + entsize / sizeof(long));
|
||||
((intmax_t*)fde + entsize / sizeof(intmax_t));
|
||||
i++;
|
||||
}
|
||||
out.header.len += sizeof(out.header);
|
||||
|
Loading…
Reference in New Issue
Block a user