aboutsummaryrefslogtreecommitdiffstats
path: root/src/dirvec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirvec.c')
-rw-r--r--src/dirvec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirvec.c b/src/dirvec.c
index 7493a4d2c..8f8bcd0c8 100644
--- a/src/dirvec.c
+++ b/src/dirvec.c
@@ -6,7 +6,7 @@
#include <string.h>
#include <glib.h>
-static size_t dv_size(struct dirvec *dv)
+static size_t dv_size(const struct dirvec *dv)
{
return dv->nr * sizeof(struct directory *);
}