summaryrefslogtreecommitdiff
path: root/src/odb_pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/odb_pack.c')
-rw-r--r--src/odb_pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/odb_pack.c b/src/odb_pack.c
index 44604ef91..20b0f1e4d 100644
--- a/src/odb_pack.c
+++ b/src/odb_pack.c
@@ -699,8 +699,8 @@ static int pack_index_open(struct pack_file *p)
static int packfile_sort__cb(const void *a_, const void *b_)
{
- struct pack_file *a = *((struct pack_file **)a_);
- struct pack_file *b = *((struct pack_file **)b_);
+ struct pack_file *a = (struct pack_file *)a_;
+ struct pack_file *b = (struct pack_file *)b_;
int st;
/*