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