summaryrefslogtreecommitdiffhomepage
path: root/src/process
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-14 01:10:09 +0000
committermidipix <writeonce@midipix.org>2016-12-15 01:47:35 -0500
commit3e609ebeae297011c8f70719ba2f68f2a9798d54 (patch)
treef8b9238c25de839ea270b81d42880e89d1f95c3e /src/process
parent95d67cc70c652076dbe261d195a27ddfbc6bbb3a (diff)
downloadntapi-3e609ebeae297011c8f70719ba2f68f2a9798d54.tar.bz2
ntapi-3e609ebeae297011c8f70719ba2f68f2a9798d54.tar.xz
code maintenance: provide smooth foreign toolchain support.
Diffstat (limited to 'src/process')
-rw-r--r--src/process/ntapi_tt_spawn_native_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process/ntapi_tt_spawn_native_process.c b/src/process/ntapi_tt_spawn_native_process.c
index db308d6..c741cf8 100644
--- a/src/process/ntapi_tt_spawn_native_process.c
+++ b/src/process/ntapi_tt_spawn_native_process.c
@@ -259,7 +259,7 @@ int32_t __stdcall __ntapi_tt_spawn_native_process(nt_spawn_process_params * spar
session.pid = rtctx->alt_cid_self.pid;
session.pgid = rtctx->alt_cid_self.pgid;
session.sid = rtctx->alt_cid_self.sid;
- session.syspid = cparams.pbi.unique_process_id;
+ session.syspid = (uint32_t)cparams.pbi.unique_process_id;
if ((status = __ntapi->tty_client_session_set(
sparams->hsession,