Parameters to virtual memory functions need to be SIZE_T.

This commit is contained in:
Alexandre Julliard 2005-09-12 15:35:04 +00:00
parent 2372e9c952
commit f367051afe
1 changed files with 3 additions and 3 deletions

View File

@ -310,7 +310,7 @@ static HMODULE load_pe_exe( const WCHAR *name, HANDLE file )
void *module;
OBJECT_ATTRIBUTES attr;
LARGE_INTEGER size;
DWORD len = 0;
SIZE_T len = 0;
attr.Length = sizeof(attr);
attr.RootDirectory = 0;
@ -362,7 +362,7 @@ static HMODULE load_pe_exe( const WCHAR *name, HANDLE file )
*/
static BOOL build_initial_environment( char **environ )
{
ULONG size = 1;
SIZE_T size = 1;
char **e;
WCHAR *p, *endptr;
void *ptr;
@ -738,7 +738,7 @@ static BOOL init_user_process_params( RTL_USER_PROCESS_PARAMETERS *params )
{
BOOL ret;
void *ptr;
DWORD size, env_size, info_size;
SIZE_T size, env_size, info_size;
HANDLE hstdin, hstdout, hstderr;
size = info_size = params->AllocationSize;