From 667a009cd72a0adcea0fc9f8e8b8a1a6e05c86e1 Mon Sep 17 00:00:00 2001 From: Liav A Date: Sat, 15 Jan 2022 21:02:30 +0200 Subject: Kernel/PCI: Don't cast a domain number to u16 Found by Tom (tomuta) during a debug session of these changes. --- Kernel/Bus/PCI/Definitions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/Bus/PCI') diff --git a/Kernel/Bus/PCI/Definitions.h b/Kernel/Bus/PCI/Definitions.h index 4d9447020d..c4a9d6e79b 100644 --- a/Kernel/Bus/PCI/Definitions.h +++ b/Kernel/Bus/PCI/Definitions.h @@ -184,7 +184,7 @@ public: return !(*this == other); } - u16 domain() const { return m_domain; } + u32 domain() const { return m_domain; } u8 bus() const { return m_bus; } u8 device() const { return m_device; } u8 function() const { return m_function; } -- cgit v1.2.3