Commit f367051a authored by Alexandre Julliard's avatar Alexandre Julliard

Parameters to virtual memory functions need to be SIZE_T.

parent 2372e9c9
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment