mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-26 01:03:15 +03:00
tests: Fix size types in pkd
tests/pkd/pkd_hello.c:743:12: error: assuming signed overflow does not
occur when simplifying conditional to constant [-Werror=strict-overflow]
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
@@ -711,8 +711,8 @@ static int pkd_run_tests(void) {
|
|||||||
(pkd_dargs.opts.testmatch == NULL)) {
|
(pkd_dargs.opts.testmatch == NULL)) {
|
||||||
rc = _cmocka_run_group_tests("all tests", all_tests, tindex, NULL, NULL);
|
rc = _cmocka_run_group_tests("all tests", all_tests, tindex, NULL, NULL);
|
||||||
} else {
|
} else {
|
||||||
int i = 0;
|
size_t i = 0;
|
||||||
int num_found = 0;
|
size_t num_found = 0;
|
||||||
const char *testname = pkd_dargs.opts.testname;
|
const char *testname = pkd_dargs.opts.testname;
|
||||||
const char *testmatch = pkd_dargs.opts.testmatch;
|
const char *testmatch = pkd_dargs.opts.testmatch;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user