summaryrefslogtreecommitdiff
path: root/src/refs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/refs.c')
-rw-r--r--src/refs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/refs.c b/src/refs.c
index 84224e88e..5e0fe09b2 100644
--- a/src/refs.c
+++ b/src/refs.c
@@ -825,8 +825,8 @@ static int packed_remove_loose(git_repository *repo, git_vector *packing_list)
static int packed_sort(const void *a, const void *b)
{
- const git_reference *ref_a = *(const git_reference **)a;
- const git_reference *ref_b = *(const git_reference **)b;
+ const git_reference *ref_a = (const git_reference *)a;
+ const git_reference *ref_b = (const git_reference *)b;
return strcmp(ref_a->name, ref_b->name);
}