VirtualBox

Changeset 53829 in vbox for trunk/src/VBox/Storage


Ignore:
Timestamp:
Jan 15, 2015 3:36:02 PM (10 years ago)
Author:
vboxsync
Message:

Storage/Debug: warnings and Makefile fix

Location:
trunk/src/VBox/Storage/Debug
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/Debug/Makefile.kmk

    r41477 r53829  
    1616#
    1717
    18 SUB_DEPTH = ../../..
     18SUB_DEPTH = ../../../..
    1919include $(KBUILD_PATH)/subheader.kmk
    2020
  • trunk/src/VBox/Storage/Debug/VDDbgIoLog.cpp

    r48957 r53829  
    487487            {
    488488                DiscardRange.u64Off = RT_H2LE_U64(paRanges[i].offStart);
    489                 DiscardRange.u32Discard = RT_H2LE_U32(paRanges[i].cbRange);
     489                DiscardRange.u32Discard = RT_H2LE_U32((uint32_t)paRanges[i].cbRange);
    490490                rc = RTFileWriteAt(pIoLogger->hFile, pIoLogger->offWriteNext + i*sizeof(DiscardRange),
    491491                                   &DiscardRange, sizeof(DiscardRange), NULL);
     
    666666        if (RT_SUCCESS(rc))
    667667        {
    668             *pfAsync   = (bool)Entry.u8AsyncIo;
     668            *pfAsync   = RT_BOOL(Entry.u8AsyncIo);
    669669            *pidEvent  = RT_LE2H_U64(Entry.u64Id);
    670670            *poff      = RT_LE2H_U64(Entry.Io.u64Off);
     
    721721
    722722            pIoLogger->offReadNext += sizeof(Entry);
    723             *pfAsync   = (bool)Entry.u8AsyncIo;
     723            *pfAsync   = RT_BOOL(Entry.u8AsyncIo);
    724724            *pidEvent  = RT_LE2H_U64(Entry.u64Id);
    725725            *pcRanges  = RT_LE2H_U32(Entry.Discard.cRanges);
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