summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-26 08:14:19 +0000
committermidipix <writeonce@midipix.org>2016-12-26 03:47:49 -0500
commit4fd16c42051adf326df62039ad3e693878911338 (patch)
treee9c41d039f1c455d12ed985e8e5db935037e7629 /src
parent4d974e3930c57600e1f09e3ca888b10793521dd3 (diff)
downloadptycon-4fd16c42051adf326df62039ad3e693878911338.tar.bz2
ptycon-4fd16c42051adf326df62039ad3e693878911338.tar.xz
ptyc_dbg_input_record(): properly invoke write_console_ansi() (uint32_t bytes).
Diffstat (limited to 'src')
-rw-r--r--src/debug/ptyc_dbg_event.c5
1 files changed, 2 insertions, 3 deletions
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);
}