commit 6d22af6d5159be4c9e4579f8c9d3af836e0d470a
parent b01a0fbffead3acffdb23ef6e478f3ffa894a856
Author: William Casarin <jb55@jb55.com>
Date: Mon, 2 Sep 2024 14:21:12 -0700
clippy: smol fix
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/filter.rs b/src/filter.rs
@@ -156,7 +156,7 @@ impl Filter {
json_cstr.as_ptr(),
json.len() as i32,
filter.as_mut_ptr(),
- buf.as_mut_ptr() as *mut u8,
+ buf.as_mut_ptr(),
bufsize as ::std::os::raw::c_int,
) as usize;