[asterisk-commits] file: trunk r45398 - /trunk/main/manager.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Oct 17 14:09:50 MST 2006


Author: file
Date: Tue Oct 17 16:09:49 2006
New Revision: 45398

URL: http://svn.digium.com/view/asterisk?rev=45398&view=rev
Log:
Warning be gone!

Modified:
    trunk/main/manager.c

Modified: trunk/main/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/main/manager.c?rev=45398&r1=45397&r2=45398&view=diff
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Tue Oct 17 16:09:49 2006
@@ -202,8 +202,9 @@
 /*! \brief Convert authority code to a list of options */
 static char *authority_to_str(int authority, char *res, int reslen)
 {
-	int i, len = reslen;
+	int i;
 	char *dst = res, *sep = "";
+	size_t len = reslen;
 
 	res[0] = '\0';
 	for (i = 0; i < (sizeof(perms) / sizeof(perms[0])) - 1; i++) {



More information about the asterisk-commits mailing list