summaryrefslogtreecommitdiff
path: root/src/rust/smartlist
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust/smartlist')
-rw-r--r--src/rust/smartlist/smartlist.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rust/smartlist/smartlist.rs b/src/rust/smartlist/smartlist.rs
index ec5d7a57f5..2a822d89f4 100644
--- a/src/rust/smartlist/smartlist.rs
+++ b/src/rust/smartlist/smartlist.rs
@@ -33,7 +33,7 @@ impl Smartlist<String> for Stringlist {
// unsafe, as we need to extract the smartlist list into a vector of
// pointers, and then transform each element into a Rust string.
- let elems: &[*const i8] =
+ let elems: &[*const c_char] =
unsafe { slice::from_raw_parts(self.list, self.num_used as usize) };
for elem in elems.iter() {