summaryrefslogtreecommitdiffhomepage
path: root/src/ubus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ubus.c')
-rw-r--r--src/ubus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ubus.c b/src/ubus.c
index 41d538a..5b901d2 100644
--- a/src/ubus.c
+++ b/src/ubus.c
@@ -222,7 +222,7 @@ static void subscribe_netifd(void)
void ubus_apply_network(void)
{
struct blob_attr *c;
- int rem;
+ unsigned rem;
if (!dump)
return;
@@ -289,7 +289,7 @@ static struct ubus_event_handler event_handler = { .cb = handle_event };
const char* ubus_get_ifname(const char *name)
{
struct blob_attr *c;
- int rem;
+ unsigned rem;
if (!dump)
return NULL;
@@ -313,7 +313,7 @@ const char* ubus_get_ifname(const char *name)
bool ubus_has_prefix(const char *name, const char *ifname)
{
struct blob_attr *c, *cur;
- int rem;
+ unsigned rem;
if (!dump)
return NULL;