]> git.ipfire.org Git - thirdparty/git.git/blobdiff - range-diff.c
hashmap: remove type arg from hashmap_{get,put,remove}_entry
[thirdparty/git.git] / range-diff.c
index 9df53569bbc72e973e0808593979d2d299eada82..22ad959cee435cb592517864f4fa4e70ec621ff9 100644 (file)
@@ -229,9 +229,7 @@ static void find_exact_matches(struct string_list *a, struct string_list *b)
                util->patch = b->items[i].string;
                util->diff = util->patch + util->diff_offset;
                hashmap_entry_init(&util->e, strhash(util->diff));
-               other = hashmap_remove_entry(&map, util, NULL,
-                                       struct patch_util,
-                                       e /* member name */);
+               other = hashmap_remove_entry(&map, util, e, NULL);
                if (other) {
                        if (other->matching >= 0)
                                BUG("already assigned!");