summaryrefslogtreecommitdiffstats
path: root/reftable/basics.c
diff options
context:
space:
mode:
Diffstat (limited to 'reftable/basics.c')
-rw-r--r--reftable/basics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/reftable/basics.c b/reftable/basics.c
index 65ad761da0..bc4fcc9144 100644
--- a/reftable/basics.c
+++ b/reftable/basics.c
@@ -260,7 +260,7 @@ int names_equal(const char **a, const char **b)
return a[i] == b[i];
}
-int common_prefix_size(struct strbuf *a, struct strbuf *b)
+int common_prefix_size(struct reftable_buf *a, struct reftable_buf *b)
{
int p = 0;
for (; p < a->len && p < b->len; p++) {