diff options
Diffstat (limited to 'search.c')
-rw-r--r-- | search.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -97,7 +97,7 @@ search_match_client(struct menu_q *menuq, struct menu_q *resultq, char *search) continue; /* Current window is ranked down. */ - if ((tier < nitems(tierp) - 1) && (cc->flags & CLIENT_ACTIVE)) + if (((unsigned)tier < nitems(tierp) - 1) && (cc->flags & CLIENT_ACTIVE)) tier++; /* Hidden window is ranked up. */ @@ -160,7 +160,7 @@ match_path_type(struct menu_q *resultq, char *search, int flag) struct menu *mi; char *pattern; glob_t g; - int i; + size_t i; xasprintf(&pattern, "%s*", search); if (glob(pattern, GLOB_MARK, NULL, &g) != 0) |