VirtualBox

Changeset 8347 in vbox for trunk/src/VBox/VMM/PGMPhys.cpp


Ignore:
Timestamp:
Apr 24, 2008 8:03:23 AM (17 years ago)
Author:
vboxsync
Message:

gcc warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMPhys.cpp

    r8155 r8347  
    439439
    440440            /* Check that it's all RAM or MMIO pages. */
    441             PCPGMPAGE pPage = &pRam->aPages[GCPhys - pRam->GCPhys >> PAGE_SHIFT];
     441            PCPGMPAGE pPage = &pRam->aPages[(GCPhys - pRam->GCPhys) >> PAGE_SHIFT];
    442442            uint32_t cLeft = cb >> PAGE_SHIFT;
    443443            while (cLeft-- > 0)
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