UserCreateHeap: use SIZE_T for parameter, also use SIZE_T for MmMapViewOfSection

svn path=/trunk/; revision=33343
This commit is contained in:
Timo Kreuzer 2008-05-07 14:39:31 +00:00
parent 335831c108
commit e3407fdd9c
2 changed files with 3 additions and 3 deletions

View file

@ -55,7 +55,7 @@ IntUserHeapCommitRoutine(IN PVOID Base,
}
else
{
ULONG ViewSize = 0;
SIZE_T ViewSize = 0;
LARGE_INTEGER Offset;
extern PSECTION_OBJECT GlobalUserHeapSection;
@ -163,7 +163,7 @@ IntUserHeapCreate(IN PSECTION_OBJECT SectionObject,
HANDLE
UserCreateHeap(OUT PSECTION_OBJECT *SectionObject,
IN OUT PVOID *SystemBase,
IN ULONG HeapSize)
IN SIZE_T HeapSize)
{
LARGE_INTEGER SizeHeap;
HANDLE hHeap = NULL;

View file

@ -74,7 +74,7 @@ extern HANDLE GlobalUserHeap;
HANDLE
UserCreateHeap(OUT PSECTION_OBJECT *SectionObject,
IN OUT PVOID *SystemBase,
IN ULONG HeapSize);
IN SIZE_T HeapSize);
static __inline PVOID
UserHeapAlloc(SIZE_T Bytes)