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