diff options
author | midipix <writeonce@midipix.org> | 2016-12-26 08:16:54 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-26 03:47:53 -0500 |
commit | 72aeced76d86fdb2b37ce0d078be040dddd1cdb8 (patch) | |
tree | 1eb5b6c5c3bf75e175ca3809118aad128e0ffcba /src | |
parent | cc353e5fdca475a91b033f542d68a806801ec3a8 (diff) | |
download | ptycon-72aeced76d86fdb2b37ce0d078be040dddd1cdb8.tar.bz2 ptycon-72aeced76d86fdb2b37ce0d078be040dddd1cdb8.tar.xz |
ptyc_dbg_raw(): properly invoke ntapi's pty_write() (uint32_t bytes).
Diffstat (limited to 'src')
-rw-r--r-- | src/debug/ptyc_dbg_raw.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/debug/ptyc_dbg_raw.c b/src/debug/ptyc_dbg_raw.c index 8d30d3e..cd7bb62 100644 --- a/src/debug/ptyc_dbg_raw.c +++ b/src/debug/ptyc_dbg_raw.c @@ -52,9 +52,8 @@ int __stdcall ptyc_dbg_raw(struct ptyc_driver_ctx_impl * ictx) for (ch=xch; nbytes; ) { status = ntapi->pty_write( ictx->cctx.hpts, - hwait,0,0, - &iosb, - ch,nbytes, + hwait,0,0,&iosb, + ch,(uint32_t)nbytes, 0,0); if (status == NT_STATUS_PENDING) |