mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +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:
parent
99282b754f
commit
3808ea2f30
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue