Selaa lähdekoodia

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

Found by Tom (tomuta) during a debug session of these changes.
Liav A 3 vuotta sitten
vanhempi
commit
667a009cd7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Kernel/Bus/PCI/Definitions.h

+ 1 - 1
Kernel/Bus/PCI/Definitions.h

@@ -184,7 +184,7 @@ public:
         return !(*this == other);
         return !(*this == other);
     }
     }
 
 
-    u16 domain() const { return m_domain; }
+    u32 domain() const { return m_domain; }
     u8 bus() const { return m_bus; }
     u8 bus() const { return m_bus; }
     u8 device() const { return m_device; }
     u8 device() const { return m_device; }
     u8 function() const { return m_function; }
     u8 function() const { return m_function; }