fix: rust types

(cherry picked from commit 925a0abd694f6409b6d54b6cad3a61fc916215d3)
This commit is contained in:
Tristan Ross 2025-09-18 12:54:21 -07:00 committed by Robert Hensing
parent edd9ec9e84
commit c924fed81b
3 changed files with 4 additions and 4 deletions

View file

@ -87,7 +87,7 @@ impl FlakeReferenceParseFlags {
context::check_call!(raw::flake_reference_parse_flags_set_base_directory(
&mut ctx,
self.ptr.as_ptr(),
base_directory.as_ptr() as *const i8,
base_directory.as_ptr() as *const u8,
base_directory.len()
))
}?;
@ -125,7 +125,7 @@ impl FlakeReference {
fetch_settings.raw_ptr(),
flake_settings.ptr,
flags.ptr.as_ptr(),
reference.as_ptr() as *const i8,
reference.as_ptr() as *const u8,
reference.len(),
// pointer to ptr
&mut ptr,