mirror of
https://github.com/swaywm/sway.git
synced 2026-05-04 06:46:25 -04:00
Fix compilation on Debian
json-c 0.13 isn't required. The size_t -> int changes are more correct as that's what the json functions return.
This commit is contained in:
parent
55fe5fc580
commit
16668fed25
5 changed files with 5 additions and 5 deletions
|
|
@ -233,7 +233,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 (size_t i = 0; i < json_object_array_length(v); ++i) {
|
||||
for (int 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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue