VirtualBox

Changeset 83739 in vbox for trunk/src/VBox/Runtime/common/fs


Ignore:
Timestamp:
Apr 17, 2020 8:51:27 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137257
Message:

IPRT: More VC++ 14.1 build fixes. bugref:8489

Location:
trunk/src/VBox/Runtime/common/fs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/fs/isovfs.cpp

    r82968 r83739  
    834834            else
    835835            {
    836                 size_t cbSkip = (offDirRec + pVol->cbSector) & ~(pVol->cbSector - 1U);
     836                uint64_t cbSkip = (offDirRec + pVol->cbSector) & ~(uint64_t)(pVol->cbSector - 1U);
    837837                offDirRec += cbSkip;
    838                 pDirRec = (PCISO9660DIRREC)((uintptr_t)pDirRec + cbSkip);
     838                pDirRec = (PCISO9660DIRREC)((uintptr_t)pDirRec + (size_t)cbSkip);
    839839            }
    840840        }
  • trunk/src/VBox/Runtime/common/fs/ntfsvfs.cpp

    r82968 r83739  
    45224522         */
    45234523        Assert(RT_IS_POWER_OF_TWO(pThis->cbBitmapAlloc));
    4524         uint64_t offLoad = offInBitmap & ~(pThis->cbBitmapAlloc - 1);
     4524        uint64_t offLoad = offInBitmap & ~(uint64_t)(pThis->cbBitmapAlloc - 1);
    45254525        uint32_t cbLoad  = (uint32_t)RT_MIN(cbWholeBitmap - offLoad, pThis->cbBitmapAlloc);
    45264526
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