summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-02-22 14:01:43 -0800
committerJunio C Hamano <gitster@pobox.com>2008-02-22 14:01:43 -0800
commit22c430ad8468133fa5ed46d8407d7f4cde2c4a0e (patch)
treef9ff0b7c5ab7176f3428c89004c866f7cff7609e
parentbe8b9063810f0c47f825c47045c7ca137f520edb (diff)
parent9ea0980a091b16501d143261eed40072030892e8 (diff)
downloadgit-22c430ad8468133fa5ed46d8407d7f4cde2c4a0e.tar.gz
Merge branch 'maint'
* maint: hash: fix lookup_hash semantics
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 7b492d4fc0..d9ec82fa66 100644
--- a/hash.c
+++ b/hash.c
@@ -70,7 +70,7 @@ void *lookup_hash(unsigned int hash, struct hash_table *table)
{
if (!table->array)
return NULL;
- return &lookup_hash_entry(hash, table)->ptr;
+ return lookup_hash_entry(hash, table)->ptr;
}
void **insert_hash(unsigned int hash, void *ptr, struct hash_table *table)