aboutsummaryrefslogtreecommitdiff
path: root/swaylock
diff options
context:
space:
mode:
Diffstat (limited to 'swaylock')
-rw-r--r--swaylock/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaylock/main.c b/swaylock/main.c
index ebd87d32..fd838ec3 100644
--- a/swaylock/main.c
+++ b/swaylock/main.c
@@ -716,7 +716,7 @@ static char *get_config_path(void) {
wordexp_t p;
char *path;
- for (size_t i = 0; i < (int)(sizeof(config_paths) / sizeof(char *)); ++i) {
+ for (size_t i = 0; i < (sizeof(config_paths) / sizeof(char *)); ++i) {
if (wordexp(config_paths[i], &p, 0) == 0) {
path = strdup(p.we_wordv[0]);
wordfree(&p);