mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
[KS]
- KSSTREAM_POINTER_OFFSET doesn't have an Alignment member on 64 bit systems. Comment the use out in these cases. It should probably be removed completely, as it's only an alignment / dummy value, but I leave this to the expert in this field. - ULONG -> ULONG_PTR for pointer casts svn path=/trunk/; revision=47567
This commit is contained in:
parent
eca252dba7
commit
3c5af5bea1
1 changed files with 6 additions and 2 deletions
|
@ -1332,7 +1332,9 @@ IKsPin_PrepareStreamHeader(
|
|||
else
|
||||
StreamPointer->StreamPointer.Offset = &StreamPointer->StreamPointer.OffsetOut;
|
||||
|
||||
#ifndef _WIN64
|
||||
StreamPointer->StreamPointer.Offset->Alignment = 0;
|
||||
#endif
|
||||
StreamPointer->StreamPointer.Offset->Count = 0;
|
||||
StreamPointer->StreamPointer.Offset->Data = NULL;
|
||||
StreamPointer->StreamPointer.Offset->Remaining = 0;
|
||||
|
@ -1352,7 +1354,9 @@ IKsPin_PrepareStreamHeader(
|
|||
/* FIXME */
|
||||
ASSERT(Length);
|
||||
|
||||
#ifndef _WIN64
|
||||
StreamPointer->StreamPointer.Offset->Alignment = 0;
|
||||
#endif
|
||||
StreamPointer->StreamPointer.Context = NULL;
|
||||
StreamPointer->StreamPointer.Pin = &This->Pin;
|
||||
StreamPointer->StreamPointer.Offset->Count = Length;
|
||||
|
@ -1543,7 +1547,7 @@ KsStreamPointerClone(
|
|||
IKsPinImpl * This;
|
||||
PKSISTREAM_POINTER CurFrame;
|
||||
PKSISTREAM_POINTER NewFrame;
|
||||
ULONG RefCount;
|
||||
ULONG_PTR RefCount;
|
||||
NTSTATUS Status;
|
||||
ULONG Size;
|
||||
|
||||
|
@ -1562,7 +1566,7 @@ KsStreamPointerClone(
|
|||
return STATUS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
/* get current irp stack location */
|
||||
RefCount = (ULONG)CurFrame->Irp->Tail.Overlay.DriverContext[0];
|
||||
RefCount = (ULONG_PTR)CurFrame->Irp->Tail.Overlay.DriverContext[0];
|
||||
|
||||
/* increment reference count */
|
||||
RefCount++;
|
||||
|
|
Loading…
Reference in a new issue