diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-07-26 02:54:51 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-07-26 02:54:51 +0200 |
| commit | 390cac20bfb3040900a5569c4e9dfa1972f8d2bd (patch) | |
| tree | b9fdcb6fe46afd98ec7630cd64ac60cd44597afe | |
| parent | cbae92965caf0653e8f32794db3ab4173b54504d (diff) | |
| download | kernel-390cac20bfb3040900a5569c4e9dfa1972f8d2bd.tar.xz kernel-390cac20bfb3040900a5569c4e9dfa1972f8d2bd.zip | |
kernel/bus: fix return type in boot_modules_protocol
| -rw-r--r-- | kernel/kernel/bus/boot_modules.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/kernel/bus/boot_modules.cpp b/kernel/kernel/bus/boot_modules.cpp index 1f02125b..2f5fe8dd 100644 --- a/kernel/kernel/bus/boot_modules.cpp +++ b/kernel/kernel/bus/boot_modules.cpp @@ -6,6 +6,7 @@ #include <kstd/result.hpp> #include <kstd/string.hpp> +#include <cstdint> #include <ranges> #include <string_view> @@ -35,7 +36,7 @@ namespace kernel::bus } [[nodiscard]] auto match(kapi::devices::device const & dev, kapi::devices::driver const & drv) const - -> kstd::result<unsigned> override + -> kstd::result<std::uint32_t> override { auto signature = dev.facet<kapi::boot_modules::boot_module_signature>(); auto claim = drv.facet<kapi::boot_modules::boot_module_claim>(); |
