Skip to content

Commit

Permalink
fix: replace i8 with c_char in TextCTX
Browse files Browse the repository at this point in the history
Signed-off-by: Max Newcomer <[email protected]>
  • Loading branch information
maxwnewcomer committed Dec 31, 2024
1 parent 3874bd4 commit 7486210
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions io-engine/tests/memory_pool.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::{collections::HashMap, ffi::CString, ptr::null_mut};
use std::{collections::HashMap, ffi::CString, os::raw::c_char, ptr::null_mut};

use once_cell::sync::OnceCell;

Expand All @@ -16,7 +16,7 @@ fn get_ms() -> &'static MayastorTest<'static> {
struct TestCtx {
id: u64,
pos: u32,
ctx: *const i8,
ctx: *const c_char,
}

const POOL_SIZE: u64 = 128 * 1024 - 1;
Expand Down

0 comments on commit 7486210

Please sign in to comment.