Fixed a bug in RtlFindSetBits().

svn path=/trunk/; revision=4118
This commit is contained in:
Eric Kohl 2003-02-08 20:59:50 +00:00
parent 0be3b55ba5
commit 541a44a00e

View file

@ -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 * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -477,7 +477,7 @@ RtlFindSetBits (
ULONG Index; ULONG Index;
ULONG Count; ULONG Count;
PULONG Ptr; PULONG Ptr;
CHAR Mask; ULONG Mask;
if (NumberToFind > Size || NumberToFind == 0) if (NumberToFind > Size || NumberToFind == 0)
return (ULONG)-1; return (ULONG)-1;