From 6c768f215d1f308cd8ad988942838d51e0357312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Wed, 6 Apr 2016 09:57:59 +0200 Subject: [PATCH] Used a more portable way to force alignment in security.h Defining an array of zero elements does not force alignment on some CPUs, insert a filler. --- include/ntfs-3g/security.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ntfs-3g/security.h b/include/ntfs-3g/security.h index d28bc89b..b5c6375e 100644 --- a/include/ntfs-3g/security.h +++ b/include/ntfs-3g/security.h @@ -173,7 +173,7 @@ struct POSIX_SECURITY { int defcnt; int firstdef; u16 tagsset; - s32 alignment[0]; + u16 filler; struct POSIX_ACL acl; } ;