diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-07-24 08:37:03 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-07-24 08:37:03 +0200 |
| commit | 28616d1f5cc56d5a91b414af6d9aec51ad996081 (patch) | |
| tree | 2a4b44f0350dcf6adbaef70c149314582512865d /libs/multiboot2 | |
| parent | e6d79751cd37f2cbe0d4bd721e59a4ca0d072a55 (diff) | |
| download | kernel-28616d1f5cc56d5a91b414af6d9aec51ad996081.tar.xz kernel-28616d1f5cc56d5a91b414af6d9aec51ad996081.zip | |
libs/mb2: fix boot module command line bug
Diffstat (limited to 'libs/multiboot2')
| -rw-r--r-- | libs/multiboot2/multiboot2/information/tag.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/multiboot2/multiboot2/information/tag.hpp b/libs/multiboot2/multiboot2/information/tag.hpp index 0c292994..2e907a72 100644 --- a/libs/multiboot2/multiboot2/information/tag.hpp +++ b/libs/multiboot2/multiboot2/information/tag.hpp @@ -193,7 +193,7 @@ namespace multiboot2 auto static vla_size(tag_header const * header) noexcept -> std::size_t { auto size = (header->unaligned_size() - sizeof(tag<Data>) - - std::is_same_v<range_type, std::basic_string_view<VlaData>> * 1) / + std::is_same_v<range_type, std::basic_string_view<VlaData const>> * 1) / sizeof(VlaData); return size; } |
