From 3e609ebeae297011c8f70719ba2f68f2a9798d54 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 14 Dec 2016 01:10:09 +0000 Subject: code maintenance: provide smooth foreign toolchain support. --- src/process/ntapi_tt_spawn_native_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/process') 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, -- cgit v1.2.3