suppress a compiler warning
authorRussell Bryant <russell@russellbryant.com>
Wed, 3 May 2006 19:10:41 +0000 (19:10 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 3 May 2006 19:10:41 +0000 (19:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24534 65c4cc65-6c06-0410-ace0-fbb531ad65f3

funcs/func_realtime.c

index aca472d..b974c29 100644 (file)
@@ -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);