Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CMakeLists: Use AGLVERSION if set
[src/app-framework-binder.git]
/
src
/
devtools
/
exprefs.c
diff --git
a/src/devtools/exprefs.c
b/src/devtools/exprefs.c
index
4ea44b4
..
4cb13b7
100644
(file)
--- a/
src/devtools/exprefs.c
+++ b/
src/devtools/exprefs.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2016, 2017 "IoT.bzh"
+ * Copyright (C) 2016, 2017
, 2018
"IoT.bzh"
* Author José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Author José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-136,7
+136,7
@@
struct json_object *expand(struct path path)
case json_type_array:
/* expand the values of arrays */
i = 0;
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 });
while (i != n) {
o = json_object_array_get_idx(path.object, i);
x = expand((struct path){ .object = o, .upper = &path });