mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-03 04:22:47 -05:00
Make lots of 'int' length fields into size_t.
This is a general cleanup which has been overdue for some time: lots of length fields are now the machine word type rather than the (in practice) fixed 'int'.
This commit is contained in:
@ -314,8 +314,8 @@ static char *gtk_seat_get_ttymode(Seat *seat, const char *mode)
|
||||
return term_get_ttymode(inst->term, mode);
|
||||
}
|
||||
|
||||
static int gtk_seat_output(Seat *seat, bool is_stderr,
|
||||
const void *data, int len)
|
||||
static size_t gtk_seat_output(Seat *seat, bool is_stderr,
|
||||
const void *data, size_t len)
|
||||
{
|
||||
GtkFrontend *inst = container_of(seat, GtkFrontend, seat);
|
||||
return term_data(inst->term, is_stderr, data, len);
|
||||
|
Reference in New Issue
Block a user