fix: rust types
(cherry picked from commit 925a0abd694f6409b6d54b6cad3a61fc916215d3)
This commit is contained in:
parent
edd9ec9e84
commit
c924fed81b
3 changed files with 4 additions and 4 deletions
|
|
@ -284,7 +284,7 @@ impl EvalState {
|
|||
let n = unsafe { check_call!(raw::get_attrs_size(&mut self.context, v.raw_ptr())) }?;
|
||||
let mut attrs = Vec::with_capacity(n as usize);
|
||||
for i in 0..n {
|
||||
let cstr_ptr: *const i8 = unsafe {
|
||||
let cstr_ptr: *const u8 = unsafe {
|
||||
check_call!(raw::get_attr_name_byidx(
|
||||
&mut self.context,
|
||||
v.raw_ptr(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue