diff --git a/lib/libfetch/Makefile b/lib/libfetch/Makefile index 5091adf7c33..3794f2ffdca 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 531342a7006..d90404a9103 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