mirror of
https://github.com/swaywm/sway.git
synced 2026-05-03 06:46:26 -04:00
Update to json-c 0.13
Update json-c dependency to 0.13, which changed the return type of json_object_array_length to support only a size_t instead of an int as fallback.
This commit is contained in:
parent
7c3b0ffc32
commit
3b673765bb
6 changed files with 8 additions and 8 deletions
|
|
@ -70,7 +70,7 @@ static void parse_json(struct bar *bar, const char *text) {
|
|||
|
||||
bar->status->block_line = create_list();
|
||||
|
||||
int i;
|
||||
size_t i;
|
||||
for (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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue