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 | e1ddb4373f55dbe9ae9b1e4a3d3251bef3102150 (patch) | |
| tree | 2e16fccd53933da54da6033a41b08ee34d6f28d9 /main.c | |
| parent | 6fb2cf950743630226310a57090b4480a69705fa (diff) | |
Change to size_t in swaylock's get_config_path
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
