diff options
author | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2011-06-15 19:46:46 +0000 |
---|---|---|
committer | twilson <twilson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2011-06-15 19:46:46 +0000 |
commit | ab9e8578286caf02ed9d8d112d22129743a24b2e (patch) | |
tree | 9032667994651ceef98675e8388079ae76c4defd /tests | |
parent | c6661df501c05bf0c8cd29ca5bbc13e36a33fe8d (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: http://svn.digium.com/svn/asterisk/trunk@323860 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'tests')
-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; } |