From: Alex Henrie alexhenrie24@gmail.com
--- programs/conhost/conhost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/conhost/conhost.c b/programs/conhost/conhost.c index c2d48d082c6..21fc8838502 100644 --- a/programs/conhost/conhost.c +++ b/programs/conhost/conhost.c @@ -865,7 +865,7 @@ static void edit_line_transpose_words( struct console *console ) { unsigned int len_r = right_offset - ctx->cursor; unsigned int len_l = ctx->cursor - left_offset; - char *tmp = malloc( len_r * sizeof(WCHAR) ); + WCHAR *tmp = malloc( len_r * sizeof(WCHAR) ); if (!tmp) { ctx->status = STATUS_NO_MEMORY;