Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: i8 -> c_char #2410

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions dozer-sink-aerospike/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ impl Client {
unsafe fn select(
&self,
key: *const as_key,
bins: &[*const i8],
bins: &[*const c_char],
record: &mut *mut as_record,
) -> Result<(), AerospikeError> {
as_try(|err| {
Expand All @@ -229,7 +229,7 @@ impl Client {
null(),
key,
// This won't write to the mut ptr
bins.as_ptr() as *mut *const i8,
bins.as_ptr() as *mut *const c_char,
record as *mut *mut as_record,
)
})
Expand Down Expand Up @@ -437,7 +437,7 @@ struct Denormalization {
set: CString,
key_field: usize,
columns: Vec<(CString, CString)>,
source_column_ptrs: Vec<*const i8>,
source_column_ptrs: Vec<*const c_char>,
}

// column ptrs
Expand Down