aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-11 18:37:05 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-11 18:37:05 +0000
commitdce402ae420d105a8277cf271a2ee5e56606ad95 (patch)
tree964fc44eaf9219b98fea017aab95f71d0d4492e3 /config.c
parentwayland: take rotation into account when calculating the logical PPI (diff)
config: pt_or_px cannot be a union
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
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;