commit 496a70b3e28dc65be8b9aa6ece37eb5255224ea9 parent f64198c39de9ac8dbb35dec89b44a38e2d6142e0 Author: William Casarin <jb55@jb55.com> Date: Fri, 9 Feb 2024 18:44:55 -0800 fix compilation error on android Signed-off-by: William Casarin <jb55@jb55.com> Diffstat:
M | src/filter.rs | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/filter.rs b/src/filter.rs @@ -127,7 +127,7 @@ impl FilterBuilder { } fn start_tags_field(&mut self, tag: char) { - unsafe { bindings::ndb_filter_start_tag_field(self.as_mut_ptr(), tag as i8) }; + unsafe { bindings::ndb_filter_start_tag_field(self.as_mut_ptr(), tag as u8 as c_char) }; } fn start_kinds_field(&mut self) {