mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 04:13:35 +00:00
[HAL]
- truncate PCI vendor id instead of casting it. MSVC chokes on it with /RTCc svn path=/trunk/; revision=54461
This commit is contained in:
@@ -1188,7 +1188,7 @@ HalpInitializePciStubs(VOID)
|
||||
sizeof(ULONG)))
|
||||
{
|
||||
/* Validate the vendor ID */
|
||||
if ((USHORT)VendorId != PCI_INVALID_VENDORID)
|
||||
if ((VendorId & 0xFFFF) != PCI_INVALID_VENDORID)
|
||||
{
|
||||
/* Set this as the maximum ID */
|
||||
MaxPciBusNumber = i;
|
||||
|
||||
Reference in New Issue
Block a user