summaryrefslogtreecommitdiff
path: root/http.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-03-26 06:59:10 +0000
committerRussell Bryant <russell@russellbryant.com>2006-03-26 06:59:10 +0000
commiteaeb8abc59db5f87f5866b87833cfc6260303f3a (patch)
tree75cd57f94eb36119bc17194e168913233a8f247d /http.c
parent9164eac21a1cce9c9f205e7a5a939346de55bf5f (diff)
suppress some compiler warnings on mac
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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];