mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-04 18:27:48 +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 a new issue