VirtualBox

Changeset 5606 in vbox for trunk/src/VBox/VMM/testcase


Ignore:
Timestamp:
Nov 1, 2007 7:43:40 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
25897
Message:

ALIGNP SIZEOFMEMB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstMMHyperHeap.cpp

    r4071 r5606  
    117117        }
    118118        memset(aOps[i].pvAlloc, szFill[i], aOps[i].cb);
    119         if (ALIGNP(aOps[i].pvAlloc, (aOps[i].uAlignment ? aOps[i].uAlignment : 8)) != aOps[i].pvAlloc)
     119        if (RT_ALIGN_P(aOps[i].pvAlloc, (aOps[i].uAlignment ? aOps[i].uAlignment : 8)) != aOps[i].pvAlloc)
    120120        {
    121121            RTPrintf("Failure: MMHyperAlloc(, %#x, %#x,) -> %p, invalid alignment!\n", aOps[i].cb, aOps[i].uAlignment, aOps[i].pvAlloc);
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