VirtualBox

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


Ignore:
Timestamp:
Jan 7, 2025 10:20:24 AM (12 days ago)
Author:
vboxsync
Message:

Runtime/common/zip/tarvfswriter.cpp: Don't call a function inside RT_MIN() due to multiple expansions (harmless), bugref:3409

File:
1 edited

Legend:

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

    r106061 r107455  
    707707    *pObjInfo = pPush->ObjInfo;
    708708    pObjInfo->cbObject = pPush->cbCurrent;
    709     pObjInfo->cbAllocated = RT_ALIGN_64(pPush->cbCurrent, rtZipTarFssWrite_GetBlockSize(pPush->pParent));
     709    size_t const cbBlock = rtZipTarFssWrite_GetBlockSize(pPush->pParent);
     710    pObjInfo->cbAllocated = RT_ALIGN_64(pPush->cbCurrent, cbBlock);
    710711
    711712    /* Additional info. */
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