Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stickz committed Jul 5, 2024
1 parent c27784c commit 365c523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libtorrent/src/torrent/bitfield.cc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Bitfield::update() {
clear_tail();

#if USE_AVX2_POPCOUNT
m_set = rak::popcnt_AVX2_lookup(m_data, size_bytes());
m_set = rak::popcnt_AVX2_lookup(m_data, size_bits());
#else
m_set = 0;

Expand Down

0 comments on commit 365c523

Please sign in to comment.