From 800d58ea89e4e79da2c646103457bc3039925948 Mon Sep 17 00:00:00 2001 From: randogoth Date: Sat, 18 Jan 2025 20:24:50 +0200 Subject: [PATCH] fix --- src/ffi.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ffi.rs b/src/ffi.rs index 0cbffcb..0b3b513 100644 --- a/src/ffi.rs +++ b/src/ffi.rs @@ -26,14 +26,14 @@ // Original work is licensed under the terms specified in the respective file header. -use std::ffi::{c_char, c_double, c_uchar, CStr}; +use std::ffi::{c_char, c_double, CStr}; use crate::Onod; #[no_mangle] pub extern "C" fn onod_run( test: *const c_char, - samples: *const c_uchar, + samples: *const u8, len: usize, result: *mut c_double, ) -> bool {