1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:08:10 +00:00

Kernel/PCI: Don't cast a domain number to u16

Found by Tom (tomuta) during a debug session of these changes.
This commit is contained in:
Liav A 2022-01-15 21:02:30 +02:00 committed by Idan Horowitz
parent b2c6206adb
commit 667a009cd7

View file

@ -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; }