Author: tfaber
Date: Wed Oct 22 19:40:13 2014
New Revision: 64907
URL:
http://svn.reactos.org/svn/reactos?rev=64907&view=rev
Log:
[RTL]
- Address a review comment by Timo -- use more explicit comparison
Modified:
trunk/reactos/lib/rtl/bitmap.c
Modified: trunk/reactos/lib/rtl/bitmap.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/bitmap.c?rev=64907…
==============================================================================
--- trunk/reactos/lib/rtl/bitmap.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/bitmap.c [iso-8859-1] Wed Oct 22 19:40:13 2014
@@ -362,7 +362,7 @@
/* Clear what's left */
NumberToClear &= (_BITCOUNT - 1);
- if (NumberToClear)
+ if (NumberToClear != 0)
{
Mask = MAXINDEX << NumberToClear;
*Buffer &= Mask;
@@ -422,7 +422,7 @@
/* Set what's left */
NumberToSet &= (_BITCOUNT - 1);
- if (NumberToSet)
+ if (NumberToSet != 0)
{
Mask = MAXINDEX << NumberToSet;
*Buffer |= ~Mask;