mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 13:11:43 +00:00
[RTL]
Fix a really stupid mistake in RtlNumberOfSetBits svn path=/trunk/; revision=56797
This commit is contained in:
parent
edc7d34422
commit
32d6beb209
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ RtlNumberOfSetBits(
|
||||||
Byte = (PUCHAR)BitMapHeader->Buffer;
|
Byte = (PUCHAR)BitMapHeader->Buffer;
|
||||||
MaxByte = Byte + BitMapHeader->SizeOfBitMap / 8;
|
MaxByte = Byte + BitMapHeader->SizeOfBitMap / 8;
|
||||||
|
|
||||||
while (Byte < MaxByte);
|
while (Byte < MaxByte)
|
||||||
{
|
{
|
||||||
BitCount += BitCountTable[*Byte++];
|
BitCount += BitCountTable[*Byte++];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue