diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pty/ntapi_pty_query.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pty/ntapi_pty_query.c b/src/pty/ntapi_pty_query.c index 06feace..5b2f99b 100644 --- a/src/pty/ntapi_pty_query.c +++ b/src/pty/ntapi_pty_query.c @@ -86,10 +86,10 @@ int32_t __stdcall __ntapi_pty_query( inherit->luid.low = msg.data.ctlinfo.luid.low; inherit->luid.high = msg.data.ctlinfo.luid.high; - inherit->access = msg.data.ctlinfo.ctxarg[0]; - inherit->flags = msg.data.ctlinfo.ctxarg[1]; - inherit->share = msg.data.ctlinfo.ctxarg[2]; - inherit->options = msg.data.ctlinfo.ctxarg[3]; + inherit->access = (uint32_t)msg.data.ctlinfo.ctxarg[0]; + inherit->flags = (uint32_t)msg.data.ctlinfo.ctxarg[1]; + inherit->share = (uint32_t)msg.data.ctlinfo.ctxarg[2]; + inherit->options = (uint32_t)msg.data.ctlinfo.ctxarg[3]; __ntapi->tt_guid_copy( &inherit->guid, |