mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -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:
@ -733,7 +733,7 @@ static void pageant_conn_closing(Plug *plug, const char *error_msg,
|
||||
sfree(pc);
|
||||
}
|
||||
|
||||
static void pageant_conn_sent(Plug *plug, int bufsize)
|
||||
static void pageant_conn_sent(Plug *plug, size_t bufsize)
|
||||
{
|
||||
/* struct pageant_conn_state *pc = container_of(
|
||||
plug, struct pageant_conn_state, plug); */
|
||||
@ -756,7 +756,7 @@ static void pageant_conn_log(void *logctx, const char *fmt, va_list ap)
|
||||
}
|
||||
|
||||
static void pageant_conn_receive(
|
||||
Plug *plug, int urgent, const char *data, int len)
|
||||
Plug *plug, int urgent, const char *data, size_t len)
|
||||
{
|
||||
struct pageant_conn_state *pc = container_of(
|
||||
plug, struct pageant_conn_state, plug);
|
||||
|
Reference in New Issue
Block a user