suppress some compiler warnings on mac
authorRussell Bryant <russell@russellbryant.com>
Sun, 26 Mar 2006 06:59:10 +0000 (06:59 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sun, 26 Mar 2006 06:59:10 +0000 (06:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14988 65c4cc65-6c06-0410-ace0-fbb531ad65f3

http.c

diff --git a/http.c b/http.c
index c2c6ef0..c840464 100644 (file)
--- 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];