From 4fd16c42051adf326df62039ad3e693878911338 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 26 Dec 2016 08:14:19 +0000 Subject: ptyc_dbg_input_record(): properly invoke write_console_ansi() (uint32_t bytes). --- src/debug/ptyc_dbg_event.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/debug/ptyc_dbg_event.c b/src/debug/ptyc_dbg_event.c index 2577389..baaf0bf 100644 --- a/src/debug/ptyc_dbg_event.c +++ b/src/debug/ptyc_dbg_event.c @@ -85,9 +85,8 @@ static int ptyc_dbg_input_record(void * hout, nt_input_record * rec) } return ntcon->write_console_ansi( - hout, - ch, - ntapi->tt_string_null_offset_multibyte(ch), + hout,ch, + (uint32_t)ntapi->tt_string_null_offset_multibyte(ch), &nwritten,0); } -- cgit v1.2.3