mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:32:57 +00:00
UserCreateHeap: use SIZE_T for parameter, also use SIZE_T for MmMapViewOfSection
svn path=/trunk/; revision=33343
This commit is contained in:
parent
335831c108
commit
e3407fdd9c
2 changed files with 3 additions and 3 deletions
|
@ -55,7 +55,7 @@ IntUserHeapCommitRoutine(IN PVOID Base,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ULONG ViewSize = 0;
|
SIZE_T ViewSize = 0;
|
||||||
LARGE_INTEGER Offset;
|
LARGE_INTEGER Offset;
|
||||||
extern PSECTION_OBJECT GlobalUserHeapSection;
|
extern PSECTION_OBJECT GlobalUserHeapSection;
|
||||||
|
|
||||||
|
@ -163,7 +163,7 @@ IntUserHeapCreate(IN PSECTION_OBJECT SectionObject,
|
||||||
HANDLE
|
HANDLE
|
||||||
UserCreateHeap(OUT PSECTION_OBJECT *SectionObject,
|
UserCreateHeap(OUT PSECTION_OBJECT *SectionObject,
|
||||||
IN OUT PVOID *SystemBase,
|
IN OUT PVOID *SystemBase,
|
||||||
IN ULONG HeapSize)
|
IN SIZE_T HeapSize)
|
||||||
{
|
{
|
||||||
LARGE_INTEGER SizeHeap;
|
LARGE_INTEGER SizeHeap;
|
||||||
HANDLE hHeap = NULL;
|
HANDLE hHeap = NULL;
|
||||||
|
|
|
@ -74,7 +74,7 @@ extern HANDLE GlobalUserHeap;
|
||||||
HANDLE
|
HANDLE
|
||||||
UserCreateHeap(OUT PSECTION_OBJECT *SectionObject,
|
UserCreateHeap(OUT PSECTION_OBJECT *SectionObject,
|
||||||
IN OUT PVOID *SystemBase,
|
IN OUT PVOID *SystemBase,
|
||||||
IN ULONG HeapSize);
|
IN SIZE_T HeapSize);
|
||||||
|
|
||||||
static __inline PVOID
|
static __inline PVOID
|
||||||
UserHeapAlloc(SIZE_T Bytes)
|
UserHeapAlloc(SIZE_T Bytes)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue