projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9568807
)
- Add missing braces to prevent PVOID pointer arithmetic.
author
Aleksey Bragin
<aleksey@reactos.org>
Wed, 22 Jul 2009 11:15:34 +0000
(11:15 +0000)
committer
Aleksey Bragin
<aleksey@reactos.org>
Wed, 22 Jul 2009 11:15:34 +0000
(11:15 +0000)
svn path=/trunk/; revision=42138
reactos/ntoskrnl/mm/procsup.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/mm/procsup.c
b/reactos/ntoskrnl/mm/procsup.c
index
3a68aa0
..
4d367f6
100644
(file)
--- a/
reactos/ntoskrnl/mm/procsup.c
+++ b/
reactos/ntoskrnl/mm/procsup.c
@@
-222,7
+222,7
@@
MmCreatePeb(PEPROCESS Process)
Peb->HeapDeCommitFreeBlockThreshold = MmHeapDeCommitFreeBlockThreshold;*/
Peb->NumberOfHeaps = 0;
Peb->MaximumNumberOfHeaps = (PAGE_SIZE - sizeof(PEB)) / sizeof(PVOID);
- Peb->ProcessHeaps = (PVOID*)
Peb + 1
;
+ Peb->ProcessHeaps = (PVOID*)
(Peb + 1)
;
/* Image Data */
if ((NtHeaders = RtlImageNtHeader(Peb->ImageBaseAddress)))