summaryrefslogtreecommitdiff
path: root/ubusd_obj.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubusd_obj.c')
-rw-r--r--ubusd_obj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubusd_obj.c b/ubusd_obj.c
index 0831473..0c9cb9a 100644
--- a/ubusd_obj.c
+++ b/ubusd_obj.c
@@ -55,7 +55,7 @@ static struct ubus_object_type *ubus_create_obj_type(struct blob_attr *sig)
{
struct ubus_object_type *type;
struct blob_attr *pos;
- int rem;
+ size_t rem;
type = calloc(1, sizeof(*type));
if (!type)