Fix RtlClearBits() and RtlSetBits()
Builds / ExectOS (i686) (push) Successful in 29s Details
Builds / ExectOS (amd64) (push) Successful in 32s Details

This commit is contained in:
Rafal Kupiec 2024-03-21 21:36:33 +01:00
parent 56d50ea2e8
commit 7895cb0d32
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 8 additions and 8 deletions

View File

@ -61,8 +61,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);
XTAPI
BOOLEAN
@ -194,8 +194,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);
XTAPI
VOID

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;