Author: dchapyshev
Date: Thu Sep 1 12:34:51 2011
New Revision: 53513
URL:
http://svn.reactos.org/svn/reactos?rev=53513&view=rev
Log:
- Fix wrong macros usage, found by PVS-Studio
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=53513…
==============================================================================
--- trunk/reactos/lib/rtl/bitmap.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/bitmap.c [iso-8859-1] Thu Sep 1 12:34:51 2011
@@ -339,7 +339,7 @@
}
/* Set all full ULONGs */
- RtlFillMemoryUlong(Buffer, NumberToSet >> 3, MAXULONG);
+ RtlFillMemoryUlong(Buffer, MAXULONG, NumberToSet >> 3);
Buffer += NumberToSet >> 5;
/* Set what's left */