Fix extra compiler warnings
[project/uclient.git] / uclient.c
index 9f98cbca167f0b5cc419ec1effe542130d1fe6df..95e4585a61cfa0f2ba90985e57d1b685255a1416 100644 (file)
--- a/uclient.c
+++ b/uclient.c
@@ -190,7 +190,7 @@ uclient_get_url(const char *url_str, const char *auth_str)
        struct uclient_url *url;
        const char *location;
        int host_len;
-       int i;
+       unsigned int i;
 
        for (i = 0; i < ARRAY_SIZE(backends); i++) {
                int prefix_len = 0;