Skip to content

Commit

Permalink
Fix typo in kh_int_hash_func2 macro.
Browse files Browse the repository at this point in the history
This was fixed upstream in attractivechaos/klib@384277a

Fixes samtools#1598
  • Loading branch information
jkbonfield authored and daviesrob committed Apr 18, 2023
1 parent a51f908 commit 1682836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htslib/khash.h
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ static kh_inline khint_t __ac_Wang_hash(khint_t key)
key ^= (key >> 16);
return key;
}
#define kh_int_hash_func2(k) __ac_Wang_hash((khint_t)key)
#define kh_int_hash_func2(key) __ac_Wang_hash((khint_t)(key))

/* --- END OF HASH FUNCTIONS --- */

Expand Down

0 comments on commit 1682836

Please sign in to comment.