VirtualBox

Changeset 60166 in vbox for trunk/src/VBox/Devices/Bus


Ignore:
Timestamp:
Mar 23, 2016 1:37:38 PM (9 years ago)
Author:
vboxsync
Message:

DevPCI: make Parfait happy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPCI.cpp

    r58132 r60166  
    16641664        {
    16651665            Assert(!(pBus->iDevSearch % 8));
    1666             for (iDev = pBus->iDevSearch; iDev < (int)RT_ELEMENTS(pBus->devices); iDev += 8)
     1666            for (iDev = pBus->iDevSearch; iDev < (int)RT_ELEMENTS(pBus->devices)-7; iDev += 8)
    16671667                if (    !pBus->devices[iDev]
    16681668                    &&  !pBus->devices[iDev + 1]
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette