filter/mod: fix mutability
This commit is contained in:
@ -54,7 +54,7 @@ pub fn find(name: &str) -> Option<Filter> {
|
|||||||
if ptr.is_null() {
|
if ptr.is_null() {
|
||||||
None
|
None
|
||||||
} else {
|
} else {
|
||||||
Some(Filter::wrap(ptr))
|
Some(Filter::wrap(ptr as *mut _))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user