diff options
author | Terry Wilson <twilson@digium.com> | 2011-06-15 19:46:46 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2011-06-15 19:46:46 +0000 |
commit | 89b653cb8105a7325ac98453c4fd2b96e1a30680 (patch) | |
tree | 9032667994651ceef98675e8388079ae76c4defd /tests/test_db.c | |
parent | c33e1b0e27065d4cd1d22ff19f26633cf082e20f (diff) |
Merged revisions 323859 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r323859 | twilson | 2011-06-15 14:45:20 -0500 (Wed, 15 Jun 2011) | 2 lines
Fix more ARRAY_LEN format string issues
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@323860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests/test_db.c')
-rw-r--r-- | tests/test_db.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_db.c b/tests/test_db.c index 0b40ffd9f..6d7973c07 100644 --- a/tests/test_db.c +++ b/tests/test_db.c @@ -158,7 +158,7 @@ AST_TEST_DEFINE(gettree_deltree) } 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; } @@ -186,7 +186,7 @@ AST_TEST_DEFINE(gettree_deltree) } 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; } |