浏览代码

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

Found by Tom (tomuta) during a debug session of these changes.
Liav A 3 年之前
父节点
当前提交
667a009cd7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Kernel/Bus/PCI/Definitions.h

+ 1 - 1
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; }