projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ccd1ff
)
- Fix wrong macros usage, found by PVS-Studio
author
Dmitry Chapyshev
<dmitry@reactos.org>
Thu, 1 Sep 2011 12:34:51 +0000
(12:34 +0000)
committer
Dmitry Chapyshev
<dmitry@reactos.org>
Thu, 1 Sep 2011 12:34:51 +0000
(12:34 +0000)
svn path=/trunk/; revision=53513
reactos/lib/rtl/bitmap.c
patch
|
blob
|
history
diff --git
a/reactos/lib/rtl/bitmap.c
b/reactos/lib/rtl/bitmap.c
index
6e88bd9
..
03978fa
100644
(file)
--- a/
reactos/lib/rtl/bitmap.c
+++ b/
reactos/lib/rtl/bitmap.c
@@
-339,7
+339,7
@@
RtlSetBits(
}
/* Set all full ULONGs */
- RtlFillMemoryUlong(Buffer,
NumberToSet >> 3, MAXULONG
);
+ RtlFillMemoryUlong(Buffer,
MAXULONG, NumberToSet >> 3
);
Buffer += NumberToSet >> 5;
/* Set what's left */