aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
authorminus <minus@mnus.de>2015-08-21 16:53:11 +0200
committerminus <minus@mnus.de>2015-08-21 16:53:11 +0200
commit8dfaf6265be52a582cc990f4332808d55063766f (patch)
treef31d5042629c27a6fbba0cb73f2b93433dce247a /sway/config.c
parent7ecb55f218666ec5c30371eeb9e5982a487fdb4b (diff)
fixed #108 signed/unsigned comparison
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index 0afb0205..1ebd95ff 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -107,7 +107,7 @@ static char *get_config_path() {
char *test = NULL;
int i;
- for (i = 0; i < sizeof(search_paths) / sizeof(char *); ++i) {
+ for (i = 0; i < (int)(sizeof(search_paths) / sizeof(char *)); ++i) {
test = strdup(search_paths[i]);
test = do_var_replacement(temp_config, test);
sway_log(L_DEBUG, "Checking for config at %s", test);