VirtualBox

Changeset 48842 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Oct 3, 2013 2:19:13 PM (11 years ago)
Author:
vboxsync
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/zip/xarvfs.cpp

    r48838 r48842  
    882882                 && pThis->cbDigested < (RTFOFF)(pThis->offCurPos + cbActuallyRead))
    883883        {
    884             size_t      off    = pThis->cbDigested - pThis->offCurPos;
    885             void const *pvHash = (uint8_t const *)pSgBuf->paSegs[0].pvSeg + off;
    886             size_t      cbHash = cbActuallyRead - off;
     884            size_t      offHash = pThis->cbDigested - pThis->offCurPos;
     885            void const *pvHash  = (uint8_t const *)pSgBuf->paSegs[0].pvSeg + offHash;
     886            size_t      cbHash  = cbActuallyRead - offHash;
    887887            rtZipXarHashUpdate(&pThis->CtxArchived,  pThis->DataAttr.uHashFunArchived,  pvHash, cbHash);
    888888            rtZipXarHashUpdate(&pThis->CtxExtracted, pThis->DataAttr.uHashFunExtracted, pvHash, cbHash);
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