diff options
-rw-r--r-- | include/util/env.h | 2 | ||||
-rw-r--r-- | util/env.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/util/env.h b/include/util/env.h index 1edae0dd..e271f4bf 100644 --- a/include/util/env.h +++ b/include/util/env.h @@ -18,6 +18,6 @@ bool env_parse_bool(const char *option); * * switches is a NULL-terminated array. */ -ssize_t env_parse_switch(const char *option, const char **switches); +size_t env_parse_switch(const char *option, const char **switches); #endif @@ -19,7 +19,7 @@ bool env_parse_bool(const char *option) { return false; } -ssize_t env_parse_switch(const char *option, const char **switches) { +size_t env_parse_switch(const char *option, const char **switches) { const char *env = getenv(option); if (env) { wlr_log(WLR_INFO, "Loading %s option: %s", option, env); |