1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-20 20:42:19 -05:00

aarch64 ptr type

This commit is contained in:
Divy Srivastava 2024-12-15 09:12:02 +05:30
parent d104b0b8b3
commit a9f85a70e2
2 changed files with 2 additions and 2 deletions

View file

@ -142,7 +142,7 @@ impl DatabaseSync {
let r = unsafe {
libsqlite3_sys::sqlite3_prepare_v2(
raw_handle,
sql.as_ptr() as *const i8,
sql.as_ptr() as *const _,
sql.len() as i32,
&mut raw_stmt,
std::ptr::null_mut(),

View file

@ -214,7 +214,7 @@ impl StatementSync {
ffi::sqlite3_bind_text(
raw,
i + 1,
value.as_ptr() as *const i8,
value.as_ptr() as *const _,
value.len() as i32,
ffi::SQLITE_TRANSIENT(),
);