diff options
| author | Brian Ashworth <bosrsf04@gmail.com> | 2018-07-13 14:56:07 -0400 |
|---|---|---|
| committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-07-16 12:17:40 -0400 |
| commit | bd4a8e06733d2bab948765b1c95e87eb4c01cf86 (patch) | |
| tree | f895a60b5893a1854ffaa6a4f710b841f08b1667 /main.c | |
| parent | e1ddb4373f55dbe9ae9b1e4a3d3251bef3102150 (diff) | |
Remove int cast after changing to size_t
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 (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); |
