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 vasudeva8 committed May 30, 2023
1 parent 06df975 commit 26d7b26
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 26d7b26

Please sign in to comment.