mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Fixed a bug in RtlFindSetBits().
svn path=/trunk/; revision=4118
This commit is contained in:
parent
0be3b55ba5
commit
541a44a00e
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue