summaryrefslogtreecommitdiff
path: root/src/kernel/arch/i386/multiboot.h
diff options
context:
space:
mode:
authordzwdz2021-09-11 17:13:49 +0200
committerdzwdz2021-09-11 17:13:49 +0200
commit0994192f6cab853f4a49ac73aa63f6820c886ec2 (patch)
tree54deb05c1b1c38fd38cca97769b6e57d902a218a /src/kernel/arch/i386/multiboot.h
parent7f77fabf2e5acf94cd8573a18d6aed468bdf887e (diff)
fix the `sparse` warnings
Diffstat (limited to 'src/kernel/arch/i386/multiboot.h')
-rw-r--r--src/kernel/arch/i386/multiboot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/arch/i386/multiboot.h b/src/kernel/arch/i386/multiboot.h
index b780f91..1d6718f 100644
--- a/src/kernel/arch/i386/multiboot.h
+++ b/src/kernel/arch/i386/multiboot.h
@@ -1,8 +1,10 @@
#pragma once
#include <stdint.h>
+#ifndef __CHECKER__
_Static_assert(sizeof(void*) == 4,
"this code assumes that pointers have 4 bytes");
+#endif
struct multiboot_mod {
void *start;