]> git.ipfire.org Git - thirdparty/git.git/blobdiff - hashmap.c
Merge branch 'hw/remove-api-docs-placeholder'
[thirdparty/git.git] / hashmap.c
index 65b447f6cd75ea5635075e9eba9acc4fb5cf9761..39c13110bc32f05f0cbb4ec1cf22bdc6ea6995b2 100644 (file)
--- a/hashmap.c
+++ b/hashmap.c
@@ -311,7 +311,7 @@ const void *memintern(const void *data, size_t len)
        /* lookup interned string in pool */
        hashmap_entry_init(&key.ent, memhash(data, len));
        key.len = len;
-       e = hashmap_get_entry(&map, &key, data, struct pool_entry, ent);
+       e = hashmap_get_entry(&map, &key, ent, data);
        if (!e) {
                /* not found: create it */
                FLEX_ALLOC_MEM(e, data, data, len);