diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-01-04 15:43:40 +0000 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-01-04 15:43:40 +0000 |
| commit | f8bba2616f5097a8576e8df704d6cbc3b9ad39c9 (patch) | |
| tree | 7b88fa1609b8445e3ef9ad773245e9386542f867 /swaymsg | |
| parent | e559ee17f10251cf6d9ac6372d2e7744eebabff2 (diff) | |
update json-c dep to 0.13
Diffstat (limited to 'swaymsg')
| -rw-r--r-- | swaymsg/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c index 8a720fca..a34eced4 100644 --- a/swaymsg/main.c +++ b/swaymsg/main.c @@ -156,7 +156,7 @@ static void pretty_print_version(json_object *v) { static void pretty_print_clipboard(json_object *v) { if (success(v, true)) { if (json_object_is_type(v, json_type_array)) { - for (int i = 0; i < json_object_array_length(v); ++i) { + for (size_t i = 0; i < json_object_array_length(v); ++i) { json_object *o = json_object_array_get_idx(v, i); printf("%s\n", json_object_get_string(o)); } |
