From 541a44a00ec7bd223360e4f056592a2f1d8936b8 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sat, 8 Feb 2003 20:59:50 +0000 Subject: [PATCH] Fixed a bug in RtlFindSetBits(). svn path=/trunk/; revision=4118 --- reactos/ntoskrnl/rtl/bitmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/ntoskrnl/rtl/bitmap.c b/reactos/ntoskrnl/rtl/bitmap.c index 843a0f72653..2eb8d099ce8 100644 --- a/reactos/ntoskrnl/rtl/bitmap.c +++ b/reactos/ntoskrnl/rtl/bitmap.c @@ -1,4 +1,4 @@ -/* $Id: bitmap.c,v 1.7 2003/01/19 01:49:10 hbirr Exp $ +/* $Id: bitmap.c,v 1.8 2003/02/08 20:59:50 ekohl Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -422,7 +422,7 @@ RtlFindLongestRunSet ( ULONG Max = 0; ULONG Start; ULONG Maxstart = 0; - ULONG Mask = 1; + ULONG Mask = 1; while (Index < Size) { @@ -477,7 +477,7 @@ RtlFindSetBits ( ULONG Index; ULONG Count; PULONG Ptr; - CHAR Mask; + ULONG Mask; if (NumberToFind > Size || NumberToFind == 0) return (ULONG)-1;