[CDROM_NEW] Fix SLIST_ENTRY vs SINGLE_LIST_ENTRY issues

This commit is contained in:
Timo Kreuzer 2019-01-07 02:59:24 +01:00
parent dfd876a96b
commit 05f4951b8c
2 changed files with 6 additions and 2 deletions

View file

@ -1412,9 +1412,9 @@ CdRomStartIo(
//
ExInterlockedPushEntrySList(&(cdData->Mmc.DelayedIrps),
(PSINGLE_LIST_ENTRY)&(Irp->Tail.Overlay.DriverContext[0]),
(PSLIST_ENTRY)&(Irp->Tail.Overlay.DriverContext[0]), // ReactOS
&(cdData->Mmc.DelayedLock));
queueDepth = ExQueryDepthSList(&(cdData->Mmc.DelayedIrps));
if (queueDepth == 1) {

View file

@ -1233,7 +1233,11 @@ CdRompFlushDelayedList(
IN BOOLEAN CalledFromWorkItem
)
{
#ifdef __REACTOS__
PSLIST_ENTRY list;
#else
PSINGLE_LIST_ENTRY list;
#endif
PIRP irp;
// NOTE - REF #0002