VirtualBox

Changeset 40289 in vbox


Ignore:
Timestamp:
Feb 29, 2012 10:28:39 AM (13 years ago)
Author:
vboxsync
Message:

tstLdr: parfait: range error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstLdr.cpp

    r40282 r40289  
    201201        for (;;)
    202202        {
    203             /* adjust load address and announce our intentions */
    204             if (g_cBits == 32)
    205                 aRels[iRel] &= UINT32_C(0xffffffff);
    206 
    207203            /* Compare all which are at the same address. */
    208204            for (i = 0; i < RT_ELEMENTS(aLoads) - 1; i++)
     
    274270                break;
    275271
     272            /* adjust load address and announce our intentions */
     273            if (g_cBits == 32)
     274                aRels[iRel] &= UINT32_C(0xffffffff);
     275
    276276            /* relocate it stuff. */
    277277            RTPrintf("tstLdr: Relocating image 2 from %RTptr to %RTptr\n", aLoads[2].Addr, aRels[iRel]);
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