diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-07-13 14:46:49 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-07-16 12:17:40 -0400 |
commit | d375f6af18f0d56b67644fb46e144995e7cbcd7e (patch) | |
tree | 4e15d17a35412e3e4d2908f3435604b95aac0d4b /swaylock | |
parent | 296889f3d775ea1ae8ec421ee044bf5c53b1c877 (diff) |
Change to size_t in swaylock's get_config_path
Diffstat (limited to 'swaylock')
-rw-r--r-- | swaylock/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaylock/main.c b/swaylock/main.c index 3d57eb75..ebd87d32 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 (int i = 0; i < (int)(sizeof(config_paths) / sizeof(char *)); ++i) { + for (size_t i = 0; i < (int)(sizeof(config_paths) / sizeof(char *)); ++i) { if (wordexp(config_paths[i], &p, 0) == 0) { path = strdup(p.we_wordv[0]); wordfree(&p); |