Date: Mon, 27 May 2019 21:51:43 +0000 (UTC) From: Alan Somers <asomers@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r348314 - projects/fuse2/tests/sys/fs/fusefs Message-ID: <201905272151.x4RLphvM041463@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: asomers Date: Mon May 27 21:51:43 2019 New Revision: 348314 URL: https://svnweb.freebsd.org/changeset/base/348314 Log: fusefs: fix an alignment issue in the tests on arm Sponsored by: The FreeBSD Foundation Modified: projects/fuse2/tests/sys/fs/fusefs/utils.cc Modified: projects/fuse2/tests/sys/fs/fusefs/utils.cc ============================================================================== --- projects/fuse2/tests/sys/fs/fusefs/utils.cc Mon May 27 21:36:28 2019 (r348313) +++ projects/fuse2/tests/sys/fs/fusefs/utils.cc Mon May 27 21:51:43 2019 (r348314) @@ -333,7 +333,7 @@ void FuseTest::expect_readdir(uint64_t ino, uint64_t o } 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905272151.x4RLphvM041463>