VirtualBox

Changeset 15129 in vbox


Ignore:
Timestamp:
Dec 8, 2008 7:12:50 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
40528
Message:

PDMDevHlp: RT_BIT_32

File:
1 edited

Legend:

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

    r15127 r15129  
    616616        int iLastSet = ASMBitLastSetU32(cbRegion);
    617617        Assert(iLastSet > 0);
    618         uint32_t cbRegionAligned = 1U << (iLastSet - 1);
     618        uint32_t cbRegionAligned = RT_BIT_32(iLastSet - 1);
    619619        if (cbRegion > cbRegionAligned)
    620620            cbRegion = cbRegionAligned * 2; /* round up */
Note: See TracChangeset for help on using the changeset viewer.

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