mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
[RTL]
- Address a review comment by Timo -- use more explicit comparison svn path=/trunk/; revision=64907
This commit is contained in:
parent
d13df46fe4
commit
b990d9a4c9
1 changed files with 2 additions and 2 deletions
|
@ -362,7 +362,7 @@ RtlClearBits(
|
|||
|
||||
/* Clear what's left */
|
||||
NumberToClear &= (_BITCOUNT - 1);
|
||||
if (NumberToClear)
|
||||
if (NumberToClear != 0)
|
||||
{
|
||||
Mask = MAXINDEX << NumberToClear;
|
||||
*Buffer &= Mask;
|
||||
|
@ -422,7 +422,7 @@ RtlSetBits(
|
|||
|
||||
/* Set what's left */
|
||||
NumberToSet &= (_BITCOUNT - 1);
|
||||
if (NumberToSet)
|
||||
if (NumberToSet != 0)
|
||||
{
|
||||
Mask = MAXINDEX << NumberToSet;
|
||||
*Buffer |= ~Mask;
|
||||
|
|
Loading…
Reference in a new issue