Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions atom/tests/atom_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ lv2_descriptors![AtomPlugin];
fn main() {
use atom::space::*;
use lv2_urid::*;
use std::ffi::{c_void, CStr};
use std::ffi::{c_char, c_void, CStr};
use std::mem::size_of;
use std::pin::Pin;
use urid::*;
Expand All @@ -93,7 +93,7 @@ fn main() {

let mut map_feature_interface = Box::pin(mapper.as_mut().make_map_interface());
let map_feature = Box::pin(sys::LV2_Feature {
URI: LV2Map::URI.as_ptr() as *const i8,
URI: LV2Map::URI.as_ptr() as *const c_char,
data: map_feature_interface.as_mut().get_mut() as *mut _ as *mut c_void,
});
let features_list: &[*const sys::LV2_Feature] =
Expand Down Expand Up @@ -152,7 +152,7 @@ fn main() {
let plugin = (plugin_descriptor.instantiate.unwrap())(
plugin_descriptor,
44100.0,
b"\0".as_ptr() as *const i8,
b"\0".as_ptr() as *const c_char,
features_list.as_ptr(),
);

Expand Down