test: fix -Wsign-compare in proftest _mkdir_recursive loop

The functional-test harness compared a signed loop index against strlen()'s
size_t, which the newly promoted -Wsign-compare turns into a -Werror failure
when the test binaries are built. Make the index size_t.

Refs #112
This commit is contained in:
2026-06-14 17:29:50 +03:00
committed by jabber.developer2
parent 7eb9668068
commit a4e6419faf

View File

@@ -119,7 +119,7 @@ _create_dir(const char* name)
gboolean
_mkdir_recursive(const char* dir)
{
int i;
size_t i;
gboolean result = TRUE;
for (i = 1; i <= strlen(dir); i++) {