mirror of
https://github.com/swaywm/sway.git
synced 2026-05-03 06:46:26 -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
|
|
@ -32,7 +32,7 @@ static bool i3bar_parse_json(struct status_line *status, const char *text) {
|
|||
return false;
|
||||
}
|
||||
wlr_log(L_DEBUG, "Got i3bar json: '%s'", text);
|
||||
for (size_t i = 0; i < json_object_array_length(results); ++i) {
|
||||
for (int i = 0; i < json_object_array_length(results); ++i) {
|
||||
json_object *full_text, *short_text, *color, *min_width, *align, *urgent;
|
||||
json_object *name, *instance, *separator, *separator_block_width;
|
||||
json_object *background, *border, *border_top, *border_bottom;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue