From a4e6419faf635258e0c68cc74a8e667fb799d886 Mon Sep 17 00:00:00 2001 From: "jabber.developer2" Date: Sun, 14 Jun 2026 17:29:50 +0300 Subject: [PATCH] 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 --- tests/functionaltests/proftest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functionaltests/proftest.c b/tests/functionaltests/proftest.c index ec5dc621..d8cbe739 100644 --- a/tests/functionaltests/proftest.c +++ b/tests/functionaltests/proftest.c @@ -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++) {