[asterisk-commits] trunk r24534 - /trunk/funcs/func_realtime.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed May 3 12:10:42 MST 2006


Author: russell
Date: Wed May  3 14:10:41 2006
New Revision: 24534

URL: http://svn.digium.com/view/asterisk?rev=24534&view=rev
Log:
suppress a compiler warning

Modified:
    trunk/funcs/func_realtime.c

Modified: trunk/funcs/func_realtime.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_realtime.c?rev=24534&r1=24533&r2=24534&view=diff
==============================================================================
--- trunk/funcs/func_realtime.c (original)
+++ trunk/funcs/func_realtime.c Wed May  3 14:10:41 2006
@@ -52,11 +52,10 @@
 
 static int function_realtime_read(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len) 
 {
-
 	struct ast_variable *var, *head;
         struct localuser *u;
 	char *results;
-	unsigned int resultslen=0;
+	size_t resultslen = 0;
 
 	AST_DECLARE_APP_ARGS(args,
 		AST_APP_ARG(family);



More information about the asterisk-commits mailing list