mirror of
https://github.com/swaywm/sway.git
synced 2025-11-11 13:29:51 -05:00
fixed #108 signed/unsigned comparison
This commit is contained in:
parent
7ecb55f218
commit
8dfaf6265b
7 changed files with 20 additions and 16 deletions
|
|
@ -107,7 +107,7 @@ static char *get_config_path() {
|
|||
|
||||
char *test = NULL;
|
||||
int i;
|
||||
for (i = 0; i < sizeof(search_paths) / sizeof(char *); ++i) {
|
||||
for (i = 0; i < (int)(sizeof(search_paths) / sizeof(char *)); ++i) {
|
||||
test = strdup(search_paths[i]);
|
||||
test = do_var_replacement(temp_config, test);
|
||||
sway_log(L_DEBUG, "Checking for config at %s", test);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue