diff options
author | midipix <writeonce@midipix.org> | 2015-08-25 06:40:02 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-09-26 11:17:17 -0400 |
commit | e6f6f2b134c08bca98df21cbbbccde8678ca4112 (patch) | |
tree | e8773911cb06138cbaeb644e574f7bb840e39172 /src | |
parent | 4f3fac869c959f531cd03def7db05c7349a12b8b (diff) | |
download | ntapi-e6f6f2b134c08bca98df21cbbbccde8678ca4112.tar.bz2 ntapi-e6f6f2b134c08bca98df21cbbbccde8678ca4112.tar.xz |
__ntapi_pty_query(): explicitly cast return value from uintptr_t to uint32_t.
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, |