VirtualBox

Changeset 40879 in vbox


Ignore:
Timestamp:
Apr 11, 2012 11:02:53 PM (13 years ago)
Author:
vboxsync
Message:

build fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv-dtrace.cpp

    r40878 r40879  
    219219        return;
    220220
    221     if (pProv->TracerData.DTrace.cProvidedProbes >= pProbeLocEnd - pProbeLoc)
     221    if (pProv->TracerData.DTrace.cProvidedProbes >= (uintptr_t)(pProbeLocEnd - pProbeLoc))
    222222        return;
    223223
     
    451451    PVTGPROBELOC    pProbeLoc = (PVTGPROBELOC)pvProbe;
    452452    AssertPtrReturn(pProbeLoc, UINT64_MAX);
    453     PVTGDESCPROBE   pProbe    = (PVTGDESCPROBE)pProbeLoc->pbProbe
     453    PVTGDESCPROBE   pProbe    = (PVTGDESCPROBE)pProbeLoc->pbProbe;
    454454    AssertPtrReturn(pProbe, UINT64_MAX);
    455     PVTGDESCARGLIST pArgList  = (PVTGDESCPROBE)((uintptr_t)pProv->pHdr->paArgLists + pProbe->offArgList);
     455    PVTGDESCARGLIST pArgList  = (PVTGDESCARGLIST)((uintptr_t)pProv->pHdr->paArgLists + pProbe->offArgList);
    456456    AssertPtrReturn(pArgList, UINT64_MAX);
    457457
     
    481481        /* wonder if this will work... */
    482482        uint32_t off = 0;
    483         for (uint32_t i = 5; i < iArg; i++)
     483        for (int i = 5; i < iArg; i++)
    484484            if (   (pArgList->aArgs[i].fType & VTG_TYPE_FIXED_SIZED)
    485485                && (pArgList->aArgs[i].fType & VTG_TYPE_SIZE_MASK) == 8)
     
    487487        u64Ret = pData->pauStackArgs[iArg - 5 + off];
    488488        if (   (pArgList->aArgs[iArg].fType & VTG_TYPE_FIXED_SIZED)
    489             && (pArgList->aArgs[iArg].fType & VTG_TYPE_SIZE_MASK) == 8
     489            && (pArgList->aArgs[iArg].fType & VTG_TYPE_SIZE_MASK) == 8 )
    490490               u64Ret |= (uint64_t)pData->pauStackArgs[iArg - 5 + off + 1] << 32;
    491491    }
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