summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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);
}