refactor: remove redundant casts

This commit is contained in:
Dundar Göc
2021-10-07 11:17:02 +02:00
parent c61a3865ee
commit 6d9dea4201
14 changed files with 27 additions and 27 deletions

View File

@@ -1241,7 +1241,7 @@ static bool send_mouse_event(Terminal *term, int c)
mouse_action(term, button, row, col - offset, drag, 0);
size_t len = vterm_output_read(term->vt, term->textbuf,
sizeof(term->textbuf));
terminal_send(term, term->textbuf, (size_t)len);
terminal_send(term, term->textbuf, len);
return false;
}