mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-18 11:31:00 -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:
@ -466,7 +466,7 @@ static void ssh2_userauth_process_queue(PacketProtocolLayer *ppl)
|
||||
(flags & (FLAG_VERBOSE | FLAG_INTERACTIVE))) {
|
||||
while (bufchain_size(&s->banner) > 0) {
|
||||
void *data;
|
||||
int len;
|
||||
size_t len;
|
||||
bufchain_prefix(&s->banner, &data, &len);
|
||||
seat_stderr(s->ppl.seat, data, len);
|
||||
bufchain_consume(&s->banner, len);
|
||||
|
Reference in New Issue
Block a user