diff --git a/reactos/lib/rtl/bitmap.c b/reactos/lib/rtl/bitmap.c index f0e1bafa364..0bedabcc311 100644 --- a/reactos/lib/rtl/bitmap.c +++ b/reactos/lib/rtl/bitmap.c @@ -415,7 +415,7 @@ RtlNumberOfSetBits( Byte = (PUCHAR)BitMapHeader->Buffer; MaxByte = Byte + BitMapHeader->SizeOfBitMap / 8; - while (Byte < MaxByte); + while (Byte < MaxByte) { BitCount += BitCountTable[*Byte++]; }