summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/name-rev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/name-rev.c b/builtin/name-rev.c
index 27138fd..b221d30 100644
--- a/builtin/name-rev.c
+++ b/builtin/name-rev.c
@@ -390,9 +390,9 @@ static void name_tips(void)
}
}
-static const struct object_id *nth_tip_table_ent(size_t ix, void *table_)
+static const struct object_id *nth_tip_table_ent(size_t ix, const void *table_)
{
- struct tip_table_entry *table = table_;
+ const struct tip_table_entry *table = table_;
return &table[ix].oid;
}