mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-06-09 00:10:18 +00:00
Use size_t for strlen length temporaries
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user