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

@@ -1017,7 +1017,7 @@ process_named_msg (session *sess, char *type, char *word[], char *word_eol[],
char *account;
char ip[128], nick[NICKLEN];
char *text, *ex;
int len = strlen (type);
size_t len = strlen (type);
/* fill in the "ip" and "nick" buffers */
ex = strchr (word[1], '!');