Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sqlite-vec.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ static f32 distance_hamming_u8(u8 *a, u8 *b, size_t n) {
// From
// https://github.com/ngtcp2/ngtcp2/blob/b64f1e77b5e0d880b93d31f474147fae4a1d17cc/lib/ngtcp2_ringbuf.c,
// line 34-43
static unsigned int __builtin_popcountl(unsigned int x) {
static unsigned int __builtin_popcountl(u64 x) {
unsigned int c = 0;
for (; x; ++c) {
x &= x - 1;
Expand Down