sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit dc0e6d46fb63aad09b8767d94976c6e56db5ffdb
parent 91313d3847263f3a7cd2a576b333fb4a40d5a2c5
Author: Rachel K <raech.kanati@gmail.com>
Date:   Thu,  4 Jan 2018 15:43:40 +0000

update json-c dep to 0.13

Diffstat:
Mmeson.build | 2+-
Mswaymsg/main.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build @@ -18,7 +18,7 @@ datadir = get_option('datadir') sysconfdir = get_option('sysconfdir') prefix = get_option('prefix') -jsonc = dependency('json-c', version: '>=0.12.1') +jsonc = dependency('json-c', version: '>=0.13') pcre = dependency('libpcre') wlroots = dependency('wlroots') wayland_server = dependency('wayland-server') diff --git 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)); }