aboutsummaryrefslogtreecommitdiffstats
path: root/src/dirvec.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/dirvec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirvec.c b/src/dirvec.c
index de2380e91..7f495b3fe 100644
--- a/src/dirvec.c
+++ b/src/dirvec.c
@@ -22,7 +22,7 @@ void dirvec_sort(struct dirvec *dv)
qsort(dv->base, dv->nr, sizeof(struct directory *), dirvec_cmp);
}
-struct directory *dirvec_find(struct dirvec *dv, const char *path)
+struct directory *dirvec_find(const struct dirvec *dv, const char *path)
{
int i;