Fix RtlClearBits() and RtlSetBits()

This commit is contained in:
2024-03-21 21:36:33 +01:00
parent 56d50ea2e8
commit 7895cb0d32
2 changed files with 8 additions and 8 deletions

View File

@@ -75,8 +75,8 @@ RtlClearBit(IN PRTL_BITMAP BitMap,
XTAPI
VOID
RtlClearBits(IN PRTL_BITMAP BitMap,
IN ULONG StartingIndex,
IN ULONG Length)
IN ULONG_PTR StartingIndex,
IN ULONG_PTR Length)
{
ULONG_PTR BitOffset, Mask;
PULONG_PTR Buffer;
@@ -249,8 +249,8 @@ RtlSetBit(IN PRTL_BITMAP BitMap,
XTAPI
VOID
RtlSetBits(IN PRTL_BITMAP BitMap,
IN ULONG StartingIndex,
IN ULONG Length)
IN ULONG_PTR StartingIndex,
IN ULONG_PTR Length)
{
ULONG_PTR BitOffset, Mask;
PULONG_PTR Buffer;