Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2011 21:12:24 +0000 (UTC)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r221820 - head/lib/libfetch
Message-ID:  <201105122112.p4CLCOg6050738@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: des
Date: Thu May 12 21:12:24 2011
New Revision: 221820
URL: http://svn.freebsd.org/changeset/base/221820

Log:
  Increase WARNS to 3.

Modified:
  head/lib/libfetch/Makefile
  head/lib/libfetch/http.c

Modified: head/lib/libfetch/Makefile
==============================================================================
--- head/lib/libfetch/Makefile	Thu May 12 19:10:00 2011	(r221819)
+++ head/lib/libfetch/Makefile	Thu May 12 21:12:24 2011	(r221820)
@@ -26,7 +26,7 @@ LDADD=		-lmd
 CFLAGS+=	-DFTP_COMBINE_CWDS
 
 CSTD?=		c99
-WARNS?=		2
+WARNS?=		3
 
 SHLIB_MAJOR=    6
 

Modified: head/lib/libfetch/http.c
==============================================================================
--- head/lib/libfetch/http.c	Thu May 12 19:10:00 2011	(r221819)
+++ head/lib/libfetch/http.c	Thu May 12 21:12:24 2011	(r221820)
@@ -508,7 +508,7 @@ http_conn_trimright(conn_t *conn)
 static hdr_t
 http_next_header(conn_t *conn, http_headerbuf_t *hbuf, const char **p)
 {
-	int i, len;
+	unsigned int i, len;
 
 	/* 
 	 * Have to do the stripping here because of the first line. So



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105122112.p4CLCOg6050738>