Changeset 53829 in vbox for trunk/src/VBox/Storage
- Timestamp:
- Jan 15, 2015 3:36:02 PM (10 years ago)
- Location:
- trunk/src/VBox/Storage/Debug
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/Debug/Makefile.kmk
r41477 r53829 16 16 # 17 17 18 SUB_DEPTH = ../../.. 18 SUB_DEPTH = ../../../.. 19 19 include $(KBUILD_PATH)/subheader.kmk 20 20 -
trunk/src/VBox/Storage/Debug/VDDbgIoLog.cpp
r48957 r53829 487 487 { 488 488 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); 490 490 rc = RTFileWriteAt(pIoLogger->hFile, pIoLogger->offWriteNext + i*sizeof(DiscardRange), 491 491 &DiscardRange, sizeof(DiscardRange), NULL); … … 666 666 if (RT_SUCCESS(rc)) 667 667 { 668 *pfAsync = (bool)Entry.u8AsyncIo;668 *pfAsync = RT_BOOL(Entry.u8AsyncIo); 669 669 *pidEvent = RT_LE2H_U64(Entry.u64Id); 670 670 *poff = RT_LE2H_U64(Entry.Io.u64Off); … … 721 721 722 722 pIoLogger->offReadNext += sizeof(Entry); 723 *pfAsync = (bool)Entry.u8AsyncIo;723 *pfAsync = RT_BOOL(Entry.u8AsyncIo); 724 724 *pidEvent = RT_LE2H_U64(Entry.u64Id); 725 725 *pcRanges = RT_LE2H_U32(Entry.Discard.cRanges);
Note:
See TracChangeset
for help on using the changeset viewer.