From dce402ae420d105a8277cf271a2ee5e56606ad95 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 11 Jan 2021 19:37:05 +0100 Subject: config: pt_or_px cannot be a union --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.c') diff --git a/config.c b/config.c index 51615389..9306a6e7 100644 --- a/config.c +++ b/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; -- cgit v1.3