Clean up Win32 size/length casts

This commit is contained in:
2026-05-20 15:22:06 -06:00
parent c7064c18b9
commit 9a0c07a461
4 changed files with 5 additions and 5 deletions

View File

@@ -452,7 +452,7 @@ void
fe_add_chan_list (server *serv, char *chan, char *users, char *topic)
{
chanlistrow *next_row;
int len = strlen (chan) + 1;
size_t len = strlen (chan) + 1;
/* we allocate the struct and channel string in one go */
next_row = g_malloc (sizeof (chanlistrow) + len);