/*
- * Copyright (C) 2016, 2017 "IoT.bzh"
+ * Copyright (C) 2015-2020 "IoT.bzh"
* Author José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
case json_type_array:
/* expand the values of arrays */
i = 0;
- n = json_object_array_length(path.object);
+ n = (int)json_object_array_length(path.object);
while (i != n) {
o = json_object_array_get_idx(path.object, i);
x = expand((struct path){ .object = o, .upper = &path });