Two trivial -Wcast-qual fixes
[gitweb.git] / builtin-ls-files.c
index f7c066b24b7a6a728fd2f0bf4a92a31fb4a695dd..5398a41415372b07fa1fdb43c26b5570e9d990b8 100644 (file)
@@ -117,7 +117,7 @@ static void show_other_files(struct dir_struct *dir)
                if (0 <= pos)
                        continue;       /* exact match */
                pos = -pos - 1;
-               if (pos < active_nr) { 
+               if (pos < active_nr) {
                        ce = active_cache[pos];
                        if (ce_namelen(ce) == len &&
                            !memcmp(ce->name, ent->name, len))