Commit 9ce0399c4dad5ff040f2219fa1dd7a4531766414

Edward Thomson 2016-02-12T10:27:05

winhttp: use an unsigned iterator

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/transports/winhttp.c b/src/transports/winhttp.c
index 3750f6e..ded0416 100644
--- a/src/transports/winhttp.c
+++ b/src/transports/winhttp.c
@@ -283,7 +283,7 @@ static int winhttp_stream_connect(winhttp_stream *s)
 	unsigned long disable_redirects = WINHTTP_DISABLE_REDIRECTS;
 	int default_timeout = TIMEOUT_INFINITE;
 	int default_connect_timeout = DEFAULT_CONNECT_TIMEOUT;
-	int i;
+	size_t i;
 
 	/* Prepare URL */
 	git_buf_printf(&buf, "%s%s", t->connection_data.path, s->service_url);