summaryrefslogtreecommitdiffstats
path: root/lib/libfetch
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2011-05-12 21:12:24 +0000
committerdes <des@FreeBSD.org>2011-05-12 21:12:24 +0000
commitdb3b3a9ab513f44179a72c79623265f94f8342c4 (patch)
treee8bf1b48097325b443cfffe95ded5c63518ac10c /lib/libfetch
parentcb5db6df7c679253c81348ca264f98b9f1caddee (diff)
downloadFreeBSD-src-db3b3a9ab513f44179a72c79623265f94f8342c4.zip
FreeBSD-src-db3b3a9ab513f44179a72c79623265f94f8342c4.tar.gz
Increase WARNS to 3.
Diffstat (limited to 'lib/libfetch')
-rw-r--r--lib/libfetch/Makefile2
-rw-r--r--lib/libfetch/http.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile
index 5091adf..3794f2f 100644
--- a/lib/libfetch/Makefile
+++ b/lib/libfetch/Makefile
@@ -26,7 +26,7 @@ LDADD= -lmd
CFLAGS+= -DFTP_COMBINE_CWDS
CSTD?= c99
-WARNS?= 2
+WARNS?= 3
SHLIB_MAJOR= 6
diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c
index 531342a7..d90404a 100644
--- a/lib/libfetch/http.c
+++ b/lib/libfetch/http.c
@@ -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
OpenPOWER on IntegriCloud