Signed-off-by: Jaroslav Kysela <perex@perex.cz>
#include "local.h"
#include <stdarg.h>
+#include <stdbool.h>
#include <limits.h>
#include <sys/stat.h>
#include <dirent.h>
const void *ptr;
struct {
struct list_head fields;
- int join;
+ bool join;
} compound;
} u;
struct list_head list;
SNDERR("%s is not a compound", id);
return -EINVAL;
}
- n->u.compound.join = 1;
+ n->u.compound.join = true;
parent = n;
free(id);
continue;
err = _snd_config_make_add(&n, &id, SND_CONFIG_TYPE_COMPOUND, parent);
if (err < 0)
goto __end;
- n->u.compound.join = 1;
+ n->u.compound.join = true;
parent = n;
}
if (c == '=') {