mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-21 05:33:45 -04:00
config: pt_or_px cannot be a union
This commit is contained in:
parent
deaff095c6
commit
dce402ae42
3 changed files with 7 additions and 7 deletions
2
config.c
2
config.c
|
|
@ -410,7 +410,7 @@ str_to_color(const char *s, uint32_t *color, bool allow_alpha,
|
|||
}
|
||||
|
||||
static bool
|
||||
str_to_pt_or_px(const char *s, union pt_or_px *res, struct config *conf,
|
||||
str_to_pt_or_px(const char *s, struct pt_or_px *res, struct config *conf,
|
||||
const char *path, int lineno, const char *section, const char *key)
|
||||
{
|
||||
size_t len = s != NULL ? strlen(s) : 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue