mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 04:52:26 -05:00
aarch64 ptr type
This commit is contained in:
parent
d104b0b8b3
commit
a9f85a70e2
2 changed files with 2 additions and 2 deletions
|
@ -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(),
|
||||
|
|
|
@ -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(),
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue