diff options
Diffstat (limited to 'src/devtools/exprefs.c')
-rw-r--r-- | src/devtools/exprefs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devtools/exprefs.c b/src/devtools/exprefs.c index 9af40611..4cb13b73 100644 --- a/src/devtools/exprefs.c +++ b/src/devtools/exprefs.c @@ -136,7 +136,7 @@ struct json_object *expand(struct path path) 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 }); |