svn commit: r348314 - projects/fuse2/tests/sys/fs/fusefs

Alan Somers asomers at FreeBSD.org
Mon May 27 21:51:44 UTC 2019


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);


More information about the svn-src-projects mailing list