aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_realtime.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-03 19:10:41 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-03 19:10:41 +0000
commitb8de621a5e1207b137ccdc10f3f459b7aba0205a (patch)
treee62ecee6317418191701b29712d66dd50b05b444 /funcs/func_realtime.c
parentbc73f0f29a301effa5e8f398391076f748f10d53 (diff)
suppress a compiler warning
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24534 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_realtime.c')
-rw-r--r--funcs/func_realtime.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/funcs/func_realtime.c b/funcs/func_realtime.c
index aca472dec..b974c290b 100644
--- a/funcs/func_realtime.c
+++ b/funcs/func_realtime.c
@@ -52,11 +52,10 @@ static char *tdesc = "Read/Write values from a RealTime repository";
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);