mirror of
https://github.com/reactos/reactos.git
synced 2025-05-25 12:14:32 +00:00
[VIDEOPRT] Fix uninitialized Reserved bit field in PciSlotNumber
CORE-16317
This commit is contained in:
parent
8c36145087
commit
32fb2e7b5f
1 changed files with 1 additions and 0 deletions
|
@ -629,6 +629,7 @@ VideoPortGetAccessRanges(
|
|||
/*
|
||||
* Search for the device id and vendor id on this bus.
|
||||
*/
|
||||
PciSlotNumber.u.bits.Reserved = 0;
|
||||
for (DeviceNumber = 0; DeviceNumber < PCI_MAX_DEVICES; DeviceNumber++)
|
||||
{
|
||||
PciSlotNumber.u.bits.DeviceNumber = DeviceNumber;
|
||||
|
|
Loading…
Reference in a new issue