wildmatch test: use a paranoia pattern from nul_match()
[gitweb.git] / revision.c
index 613168d397bcce6f2ddb2cf074707f3aff79f8c3..d167223e694e54626786740954454d4973e28752 100644 (file)
@@ -1106,7 +1106,7 @@ static void add_rev_cmdline(struct rev_info *revs,
                            unsigned flags)
 {
        struct rev_cmdline_info *info = &revs->cmdline;
-       int nr = info->nr;
+       unsigned int nr = info->nr;
 
        ALLOC_GROW(info->rev, nr + 1, info->alloc);
        info->rev[nr].item = item;