mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-14 09:37:34 -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:
@ -396,8 +396,8 @@ static void ssh1mainchan_hint_channel_is_simple(SshChannel *sc)
|
||||
{
|
||||
}
|
||||
|
||||
static int ssh1mainchan_write(
|
||||
SshChannel *sc, bool is_stderr, const void *data, int len)
|
||||
static size_t ssh1mainchan_write(
|
||||
SshChannel *sc, bool is_stderr, const void *data, size_t len)
|
||||
{
|
||||
struct ssh1_connection_state *s =
|
||||
container_of(sc, struct ssh1_connection_state, mainchan_sc);
|
||||
|
Reference in New Issue
Block a user