sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 85584734ce4bb6a1955f446c294fdf041a20e610
parent d375f6af18f0d56b67644fb46e144995e7cbcd7e
Author: Brian Ashworth <bosrsf04@gmail.com>
Date:   Fri, 13 Jul 2018 14:56:07 -0400

Remove int cast after changing to size_t

Diffstat:
Mswaylock/main.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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);