mirror of
https://github.com/wine-mirror/wine
synced 2024-07-05 09:18:56 +00:00
conhost: Use correct pointer type in edit_line_transpose_words (scan-build).
This commit is contained in:
parent
58e81212fc
commit
2455229549
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user