Author: mbosma
Date: Fri Jul 14 18:57:47 2006
New Revision: 23059
URL:
http://svn.reactos.org/svn/reactos?rev=23059&view=rev
Log:
Even more sizeof fixes.
Modified:
branches/cache_manager_rewrite/mm/section.c
Modified: branches/cache_manager_rewrite/mm/section.c
URL:
http://svn.reactos.org/svn/reactos/branches/cache_manager_rewrite/mm/sectio…
==============================================================================
--- branches/cache_manager_rewrite/mm/section.c (original)
+++ branches/cache_manager_rewrite/mm/section.c Fri Jul 14 18:57:47 2006
@@ -3300,7 +3300,7 @@
RtlZeroMemory(&ObjectTypeInitializer, sizeof(ObjectTypeInitializer));
RtlInitUnicodeString(&Name, L"Section");
ObjectTypeInitializer.Length = sizeof(ObjectTypeInitializer);
- ObjectTypeInitializer.DefaultPagedPoolCharge = sizeof(SECTION_OBJECT);
+ ObjectTypeInitializer.DefaultPagedPoolCharge = sizeof(ROS_SECTION_OBJECT);
ObjectTypeInitializer.PoolType = PagedPool;
ObjectTypeInitializer.UseDefaultObject = TRUE;
ObjectTypeInitializer.GenericMapping = MmpSectionMapping;
@@ -3353,7 +3353,7 @@
ObjectAttributes,
ExGetPreviousMode(),
NULL,
- sizeof(SECTION_OBJECT),
+ sizeof(ROS_SECTION_OBJECT),
0,
0,
(PVOID*)(PVOID)&Section);