mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
{PORTCLS]
Fix more PtrToUlong fun svn path=/trunk/; revision=56328
This commit is contained in:
@@ -165,7 +165,7 @@ CPortWaveRTStreamInit::GetPhysicalPageAddress(
|
||||
|
||||
Addr = MmGetPhysicalAddress(Buffer);
|
||||
Address->QuadPart = Addr.QuadPart;
|
||||
Result.QuadPart = (PtrToUlong(Address));
|
||||
Result.QuadPart = (ULONG_PTR)Address;
|
||||
|
||||
return Result;
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ HandleDataIntersection(
|
||||
IoStatus->Information = Length;
|
||||
break;
|
||||
}
|
||||
DataRange = (PKSDATARANGE) UlongToPtr(PtrToUlong(DataRange) + DataRange->FormatSize);
|
||||
DataRange = (PKSDATARANGE)((PUCHAR)DataRange + DataRange->FormatSize);
|
||||
}
|
||||
|
||||
IoStatus->Status = Status;
|
||||
@@ -230,7 +230,7 @@ PinPropertyHandler(
|
||||
// get current irp stack
|
||||
IoStack = IoGetCurrentIrpStackLocation(Irp);
|
||||
|
||||
// get dispatch context
|
||||
// get dispatch context
|
||||
DispatchContext = (PDISPATCH_CONTEXT)IoStack->FileObject->FsContext;
|
||||
|
||||
// Get the IrpTarget
|
||||
|
||||
Reference in New Issue
Block a user