Author: tkreuzer
Date: Wed May 7 09:39:31 2008
New Revision: 33343
URL:
http://svn.reactos.org/svn/reactos?rev=33343&view=rev
Log:
UserCreateHeap: use SIZE_T for parameter, also use SIZE_T for MmMapViewOfSection
Modified:
trunk/reactos/subsystems/win32/win32k/misc/usrheap.c
trunk/reactos/subsystems/win32/win32k/w32k.h
Modified: trunk/reactos/subsystems/win32/win32k/misc/usrheap.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/mi…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/misc/usrheap.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/misc/usrheap.c [iso-8859-1] Wed May 7 09:39:31
2008
@@ -55,7 +55,7 @@
}
else
{
- ULONG ViewSize = 0;
+ SIZE_T ViewSize = 0;
LARGE_INTEGER Offset;
extern PSECTION_OBJECT GlobalUserHeapSection;
@@ -163,7 +163,7 @@
HANDLE
UserCreateHeap(OUT PSECTION_OBJECT *SectionObject,
IN OUT PVOID *SystemBase,
- IN ULONG HeapSize)
+ IN SIZE_T HeapSize)
{
LARGE_INTEGER SizeHeap;
HANDLE hHeap = NULL;
Modified: trunk/reactos/subsystems/win32/win32k/w32k.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/w3…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/w32k.h [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/w32k.h [iso-8859-1] Wed May 7 09:39:31 2008
@@ -74,7 +74,7 @@
HANDLE
UserCreateHeap(OUT PSECTION_OBJECT *SectionObject,
IN OUT PVOID *SystemBase,
- IN ULONG HeapSize);
+ IN SIZE_T HeapSize);
static __inline PVOID
UserHeapAlloc(SIZE_T Bytes)