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>
Этот коммит содержится в:
родитель
5334cb9d55
Коммит
a3c8dac6b6
@ -711,8 +711,8 @@ static int pkd_run_tests(void) {
|
||||
(pkd_dargs.opts.testmatch == NULL)) {
|
||||
rc = _cmocka_run_group_tests("all tests", all_tests, tindex, NULL, NULL);
|
||||
} else {
|
||||
int i = 0;
|
||||
int num_found = 0;
|
||||
size_t i = 0;
|
||||
size_t num_found = 0;
|
||||
const char *testname = pkd_dargs.opts.testname;
|
||||
const char *testmatch = pkd_dargs.opts.testmatch;
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user