summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/debug/ptyc_dbg_oven.c5
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)