tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
https://turso.tech/libsql
MIT License
9.54k stars 252 forks source link

windows compiler complains about operations with void* pointers #1662

Closed sivukhin closed 1 month ago

sivukhin commented 1 month ago

Context

Windows builds are failing with the error (see https://github.com/tursodatabase/libsql-js/actions/runs/10353914696/job/28657926332?pr=134):

error C2036: 'void *': unknown size ...

This PR replaces several instances in the vector index implementation where operations involving void* pointers were performed, using u8* pointers instead.