Attempt to fix MSVC build

CORE-4375

svn path=/trunk/; revision=74804
This commit is contained in:
Pierre Schweitzer 2017-06-03 21:47:53 +00:00
parent d144147237
commit 6045d865f8
3 changed files with 4 additions and 2 deletions

View file

@ -307,7 +307,7 @@ UDFPhWriteSynchronous(
KeQuerySystemTime((PLARGE_INTEGER)&IoEnterTime);
#endif //MEASURE_IO_PERFORMANCE
#if defined DBG || defined USE_PERF_PRINT
#if defined UDF_DBG || defined USE_PERF_PRINT
ULONG Lba = (ULONG)(Offset>>0xb);
// ASSERT(!(Lba & (32-1)));
PerfPrint(("UDFPhWrite: Length: %x Lba: %lx\n",Length>>0xb,Lba));

View file

@ -835,7 +835,7 @@ try_exit: NOTHING;
Irp->Tail.Overlay.CurrentStackLocation++;
// Now call the appropriate file system driver with the request.
return IoCallDriver( filterDevExt->lowerFSDeviceObject, Irp );
RC = IoCallDriver( filterDevExt->lowerFSDeviceObject, Irp );
}

View file

@ -2333,12 +2333,14 @@ UDFLoadImpUseVolDesc(
int8* Buf
)
{
#ifdef UDF_DBG
ImpUseVolDesc* iuvd = (ImpUseVolDesc*)Buf;
ImpUseVolDescImpUse* iuvdiu = (ImpUseVolDescImpUse*)&(iuvd->impUse);
UDFPrint(("UDF: Imp Use Vol Desc:\n"));
UDFPrint((" volDescSeqNum = %x\n", iuvd->volDescSeqNum));
UDFPrint(("UDF: Imp Use Vol Desc Imp Use:\n"));
KdDump(iuvdiu, sizeof(ImpUseVolDescImpUse));
#endif
return STATUS_SUCCESS;
} // UDFLoadImpUseVolDesc()