summaryrefslogtreecommitdiff
path: root/Kernel/Net/ICMP.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Net/ICMP.h')
-rw-r--r--Kernel/Net/ICMP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/ICMP.h b/Kernel/Net/ICMP.h
index 82c8df3dde..0b0e807ce8 100644
--- a/Kernel/Net/ICMP.h
+++ b/Kernel/Net/ICMP.h
@@ -40,7 +40,7 @@ private:
// NOTE: The rest of the header is 4 bytes
};
-static_assert(sizeof(ICMPHeader) == 4);
+static_assert(AssertSize<ICMPHeader, 4>());
struct [[gnu::packed]] ICMPEchoPacket {
ICMPHeader header;