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 5b901d2f1d4eef3bebce73d8282904b0f314fe40..f014eda2e1e805e41b48c56cfe8b5761a5681e8f 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;
                        }