aboutsummaryrefslogtreecommitdiffstats
path: root/http.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-26 06:59:10 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-26 06:59:10 +0000
commit2e11eecbc67ac405d567eca35f8b8bb5912f9080 (patch)
tree75cd57f94eb36119bc17194e168913233a8f247d /http.c
parent4f4a24ec6ff72908d14402be9e27324148f2c8f1 (diff)
suppress some compiler warnings on mac
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@14988 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'http.c')
-rw-r--r--http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.c b/http.c
index c2c6ef09f..c840464f6 100644
--- a/http.c
+++ b/http.c
@@ -60,7 +60,7 @@ static struct sockaddr_in oldsin;
static char *httpstatus_callback(struct sockaddr_in *req, const char *uri, struct ast_variable *vars, int *status, char **title, int *contentlength)
{
char result[4096];
- int reslen = sizeof(result);
+ size_t reslen = sizeof(result);
char *c=result;
struct ast_variable *v;
char iabuf[INET_ADDRSTRLEN];