From cc353e5fdca475a91b033f542d68a806801ec3a8 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 26 Dec 2016 08:16:00 +0000 Subject: ptyc_dbg_oven(): properly invoke ntapi's pty_write() (uint32_t bytes). --- src/debug/ptyc_dbg_oven.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/debug') 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) -- cgit v1.2.3