summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-10-14 23:09:34 +0200
committerSteven Barth <steven@midlink.org>2013-10-14 23:09:34 +0200
commita9739e68e7697dc833af0473b37a0632f42d107c (patch)
tree6cf77528e011ddc579777a75d7798f590b4a9581
parent7ccb1f94756db1c737d978f530276a3ac266f7e8 (diff)
Fix unsigned / signed conversion
-rw-r--r--src/ubus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ubus.c b/src/ubus.c
index 5b901d2..f014eda 100644
--- a/src/ubus.c
+++ b/src/ubus.c
@@ -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;
}