Silence compilation warning (#16092)

This commit is contained in:
sonninnos 2024-01-09 10:17:54 +02:00 committed by GitHub
parent 14d2a61952
commit 020f3d9390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19536,7 +19536,7 @@ static bool setting_append_list(
{
char *options;
int len = 0, i = 0;
for (; i < icons->size; i++)
for (; i < (int)icons->size; i++)
len += strlen(icons->elems[i].data) + 1;
options = (char*)calloc(len, sizeof(char));
string_list_join_concat(options, len, icons, "|");