From cc353e5fdca475a91b033f542d68a806801ec3a8 Mon Sep 17 00:00:00 2001 From: midipix Date: Dec 26 2016 08:47:51 +0000 Subject: ptyc_dbg_oven(): properly invoke ntapi's pty_write() (uint32_t bytes). --- 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)