diff options
Diffstat (limited to 'src/process')
-rw-r--r-- | src/process/ntapi_tt_create_native_process_v1.c | 2 | ||||
-rw-r--r-- | src/process/ntapi_tt_create_native_process_v2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/process/ntapi_tt_create_native_process_v1.c b/src/process/ntapi_tt_create_native_process_v1.c index 12f0073..94b0a7a 100644 --- a/src/process/ntapi_tt_create_native_process_v1.c +++ b/src/process/ntapi_tt_create_native_process_v1.c @@ -240,7 +240,7 @@ int32_t __stdcall __ntapi_tt_create_native_process_v1(nt_create_process_params * /* rtdata */ if (params->rtblock) { struct _nt_runtime_data * rtdata; - rtdata = (struct _nt_runtime_data *)params->rtblock->addr; + rtdata = (struct _nt_runtime_data *)params->rtblock->addr; rtdata->flags &= ~NT_RUNTIME_DATA_ARGV_ENVP_RELOCATED; } diff --git a/src/process/ntapi_tt_create_native_process_v2.c b/src/process/ntapi_tt_create_native_process_v2.c index 7214dc5..a826a36 100644 --- a/src/process/ntapi_tt_create_native_process_v2.c +++ b/src/process/ntapi_tt_create_native_process_v2.c @@ -225,7 +225,7 @@ int32_t __stdcall __ntapi_tt_create_native_process_v2( /* rtdata */ struct _nt_runtime_data * rtdata; - rtdata = (struct _nt_runtime_data *)params->rtblock->addr; + rtdata = (struct _nt_runtime_data *)params->rtblock->addr; rtdata->flags &= ~NT_RUNTIME_DATA_ARGV_ENVP_RELOCATED; if ((status = __ntapi_tt_create_remote_runtime_data(params->hprocess,params->rtblock))) |