mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +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:
parent
b2c6206adb
commit
667a009cd7
Notes:
sideshowbarker
2024-07-17 20:38:39 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/667a009cd72 Pull-request: https://github.com/SerenityOS/serenity/pull/11952 Reviewed-by: https://github.com/IdanHo ✅
1 changed files with 1 additions and 1 deletions
|
@ -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; }
|
||||
|
|
Loading…
Reference in a new issue