summaryrefslogtreecommitdiff
path: root/Kernel/Arch/x86/PageDirectory.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Arch/x86/PageDirectory.h')
-rw-r--r--Kernel/Arch/x86/PageDirectory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Arch/x86/PageDirectory.h b/Kernel/Arch/x86/PageDirectory.h
index f965e600b2..2a349644b4 100644
--- a/Kernel/Arch/x86/PageDirectory.h
+++ b/Kernel/Arch/x86/PageDirectory.h
@@ -132,8 +132,8 @@ private:
u64 m_raw;
};
-static_assert(sizeof(PageDirectoryEntry) == 8);
-static_assert(sizeof(PageTableEntry) == 8);
+static_assert(AssertSize<PageDirectoryEntry, 8>());
+static_assert(AssertSize<PageTableEntry, 8>());
class PageDirectoryPointerTable {
public: