Skip to content

Commit c23cd0f

Browse files
author
Vladimir Sadovnikov
committed
Fixed clang warnings
1 parent 5f34eab commit c23cd0f

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

src/main/executor.cpp

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (C) 2020 Linux Studio Plugins Project <https://lsp-plug.in/>
3-
* (C) 2020 Vladimir Sadovnikov <[email protected]>
2+
* Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
3+
* (C) 2025 Vladimir Sadovnikov <[email protected]>
44
*
55
* This file is part of lsp-test-fw
66
* Created on: 22 мар. 2020 г.
@@ -208,7 +208,9 @@ namespace lsp
208208
test->configure(pCfg);
209209
start_memcheck(test);
210210
test->init();
211-
test->execute(pCfg->args.size(), cfg->args.array<const char>());
211+
test->execute(
212+
int(pCfg->args.size()),
213+
cfg->args.array<const char>());
212214
test->destroy();
213215
end_memcheck();
214216
}
@@ -233,7 +235,9 @@ namespace lsp
233235
test->configure(pCfg);
234236
start_memcheck(test);
235237
test->init();
236-
test->execute(pCfg->args.size(), cfg->args.array<const char>());
238+
test->execute(
239+
int(pCfg->args.size()),
240+
cfg->args.array<const char>());
237241
test->destroy();
238242
end_memcheck();
239243

@@ -268,7 +272,9 @@ namespace lsp
268272
test->configure(pCfg);
269273
start_memcheck(test);
270274
test->init();
271-
test->execute(pCfg->args.size(), cfg->args.array<const char>());
275+
test->execute(
276+
int(pCfg->args.size()),
277+
cfg->args.array<const char>());
272278
test->destroy();
273279
end_memcheck();
274280

@@ -680,7 +686,8 @@ namespace lsp
680686
}
681687

682688
#endif /* LSP_TEST_FW_PLATFORM_UNIX_COMPATIBLE */
683-
}
684-
}
689+
690+
} /* namespace test */
691+
} /* namespace lsp */
685692

686693

0 commit comments

Comments
 (0)