[asterisk-commits] twilson: trunk r323860 - in /trunk: ./ tests/test_db.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 15 14:46:52 CDT 2011


Author: twilson
Date: Wed Jun 15 14:46:46 2011
New Revision: 323860

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=323860
Log:
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
........

Modified:
    trunk/   (props changed)
    trunk/tests/test_db.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/tests/test_db.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_db.c?view=diff&rev=323860&r1=323859&r2=323860
==============================================================================
--- trunk/tests/test_db.c (original)
+++ trunk/tests/test_db.c Wed Jun 15 14:46:46 2011
@@ -158,7 +158,7 @@
 	}
 
 	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 @@
 	}
 
 	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;
 	}
 




More information about the asterisk-commits mailing list