[asterisk-commits] trunk r14988 - /trunk/http.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Mar 25 23:59:12 MST 2006


Author: russell
Date: Sun Mar 26 00:59:10 2006
New Revision: 14988

URL: http://svn.digium.com/view/asterisk?rev=14988&view=rev
Log:
suppress some compiler warnings on mac

Modified:
    trunk/http.c

Modified: trunk/http.c
URL: http://svn.digium.com/view/asterisk/trunk/http.c?rev=14988&r1=14987&r2=14988&view=diff
==============================================================================
--- trunk/http.c (original)
+++ trunk/http.c Sun Mar 26 00:59:10 2006
@@ -60,7 +60,7 @@
 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];



More information about the asterisk-commits mailing list