https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6e3c0d360b58a005f84e8…
commit 6e3c0d360b58a005f84e8ccf236f2b577a3adb2e
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Fri Sep 6 08:56:26 2019 +0200
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Fri Sep 6 08:56:26 2019 +0200
[BTRFS] bool must be 1-sized
CORE-16366
---
drivers/filesystems/btrfs/btrfs_drv.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/filesystems/btrfs/btrfs_drv.h
b/drivers/filesystems/btrfs/btrfs_drv.h
index 3af0170e6c9..67cb24902c7 100644
--- a/drivers/filesystems/btrfs/btrfs_drv.h
+++ b/drivers/filesystems/btrfs/btrfs_drv.h
@@ -70,6 +70,10 @@
#include "btrfs.h"
#include "btrfsioctl.h"
+#ifdef __REACTOS__
+C_ASSERT(sizeof(bool) == 1);
+#endif
+
#ifdef _DEBUG
// #define DEBUG_FCB_REFCOUNTS
// #define DEBUG_LONG_MESSAGES