Commit 24552295 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

conhost: Use correct pointer type in edit_line_transpose_words (scan-build).

parent 58e81212
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment