[RTL/x64] Fix a GCC compiler warning

This commit is contained in:
Timo Kreuzer 2024-03-08 19:35:03 +02:00
parent e27f06b889
commit 01c05f33dc

View file

@ -132,10 +132,10 @@ RtlInterlockedPushListSList(
NewSListHead.Header16.Init = 1; NewSListHead.Header16.Init = 1;
/* Atomically exchange the SlistHead with the new one */ /* Atomically exchange the SlistHead with the new one */
exchanged = _InterlockedCompareExchange128((PULONG64)SListHead, exchanged = _InterlockedCompareExchange128((PLONG64)SListHead,
NewSListHead.Region, NewSListHead.Region,
NewSListHead.Alignment, NewSListHead.Alignment,
(PULONG64)&OldSListHead); (PLONG64)&OldSListHead);
} while (!exchanged); } while (!exchanged);
return FirstEntry; return FirstEntry;