diff options
Diffstat (limited to 'binding')
-rw-r--r-- | binding/network-util.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/binding/network-util.c b/binding/network-util.c index 7e0aa48..f5a0d41 100644 --- a/binding/network-util.c +++ b/binding/network-util.c @@ -58,7 +58,8 @@ int str2boolean(const char *value) json_object *json_object_copy(json_object *jval) { json_object *jobj; - int i, len; + size_t len; + int i; /* handle NULL */ if (!jval) @@ -672,7 +673,8 @@ GVariant *property_json_to_gvariant( double d; const char *jvalstr, *str; char c; - int i, len; + size_t len; + int i; gboolean is_config; if (!fmt) @@ -912,7 +914,8 @@ GVariant *property_json_to_gvariant( json_object *get_property_collect(json_object *jreqprop, json_object *jprop, GError **error) { - int i, len; + int i; + size_t len; json_object *jkey, *jval, *jobj = NULL, *jobjval; const char *key; |