mirror of
https://github.com/NickHu/sway
synced 2024-12-30 22:23:30 +01:00
Remove int cast after changing to size_t
This commit is contained in:
parent
d375f6af18
commit
85584734ce
1 changed files with 1 additions and 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);
|
||||
|
|
Loading…
Reference in a new issue