mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-29 07:24:55 +00:00
Fix more ARRAY_LEN format string issues
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@323859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -158,7 +158,7 @@ AST_TEST_DEFINE(gettree_deltree)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (x != ARRAY_LEN(inputs)) {
|
if (x != ARRAY_LEN(inputs)) {
|
||||||
ast_test_status_update(test, "ast_db_gettree returned %zu entries when we expected %lu\n", x, ARRAY_LEN(inputs));
|
ast_test_status_update(test, "ast_db_gettree returned %zu entries when we expected %zu\n", x, (size_t) ARRAY_LEN(inputs));
|
||||||
res = AST_TEST_FAIL;
|
res = AST_TEST_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -186,7 +186,7 @@ AST_TEST_DEFINE(gettree_deltree)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (x != (ARRAY_LEN(inputs) / 2)) {
|
if (x != (ARRAY_LEN(inputs) / 2)) {
|
||||||
ast_test_status_update(test, "ast_db_gettree returned %zu entries when we expected %lu\n", x, ARRAY_LEN(inputs) / 2);
|
ast_test_status_update(test, "ast_db_gettree returned %zu entries when we expected %zu\n", x, (size_t) ARRAY_LEN(inputs) / 2);
|
||||||
res = AST_TEST_FAIL;
|
res = AST_TEST_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user