Fix unsigned / signed conversion
authorSteven Barth <steven@midlink.org>
Mon, 14 Oct 2013 21:09:34 +0000 (23:09 +0200)
committerSteven Barth <steven@midlink.org>
Mon, 14 Oct 2013 21:09:34 +0000 (23:09 +0200)
src/ubus.c

index 5b901d2..f014eda 100644 (file)
@@ -334,7 +334,7 @@ bool ubus_has_prefix(const char *name, const char *ifname)
                                continue;
 
                        struct blob_attr *d;
-                       int drem;
+                       unsigned drem;
                        blobmsg_for_each_attr(d, cur, drem) {
                                return true;
                        }