Use size_t for strlen length temporaries

This commit is contained in:
2026-05-20 15:34:19 -06:00
parent 9a0c07a461
commit cec7e2caf3
6 changed files with 7 additions and 6 deletions

View File

@@ -313,7 +313,8 @@ fe_print_text (struct session *sess, char *text, time_t stamp,
gboolean no_activity)
{
int dotime = FALSE;
int comma, k, i = 0, j = 0, len = strlen (text);
int comma, k, i = 0, j = 0;
size_t len = strlen (text);
unsigned char *newtext = g_malloc (len + 1024);